[goffice] embedder: sync with gnumeric
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] embedder: sync with gnumeric
- Date: Thu, 1 Dec 2011 21:22:54 +0000 (UTC)
commit ac7fd20977c21be71a8603b278fa3c3dc39c613f
Author: Morten Welinder <terra gnome org>
Date: Thu Dec 1 16:22:38 2011 -0500
embedder: sync with gnumeric
tools/embedder | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tools/embedder b/tools/embedder
index 5c8810a..6902a92 100644
--- a/tools/embedder
+++ b/tools/embedder
@@ -24,8 +24,9 @@ my @includes;
# -----------------------------------------------------------------------------
print "/* Generated by $myself -- do not edit! */\n\n";
-foreach (@includes) {
- print "#include \"$_\"\n";
+foreach my $include (@includes) {
+ $include = "\"$include\"" unless $include =~ /^[<""]/;
+ print "#include $include\n";
}
my $fileno = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]