summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-04-22 21:02:34 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-04-22 21:02:34 +0000
commit5868112a61a8d232ee621f660c9109a484a1062f (patch)
treee7cf143639448406e3cb35e08371f76576a91d27
parent48deca637904679e81a7a4e0fc7f9964835ae005 (diff)
Actually convert escape chars in --vprod. (#139058, Christophe Saout)
2004-04-22 Matthias Clasen <mclasen@redhat.com> * glib-mkenums.in: Actually convert escape chars in --vprod. (#139058, Christophe Saout)
-rw-r--r--gobject/ChangeLog5
-rwxr-xr-xgobject/glib-mkenums.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index 81506134e..d96eb0ac9 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-22 Matthias Clasen <mclasen@redhat.com>
+
+ * glib-mkenums.in: Actually convert escape chars in
+ --vprod. (#139058, Christophe Saout)
+
2004-04-15 Matthias Clasen <mclasen@redhat.com>
* gparamspecs.c (param_float_init): Correct the initial
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in
index 969c84a21..800e96302 100755
--- a/gobject/glib-mkenums.in
+++ b/gobject/glib-mkenums.in
@@ -410,7 +410,7 @@ while (<>) {
$prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
for (@entries) {
my ($name,$nick) = @{$_};
- my $tmp_prod = $vprod;
+ my $tmp_prod = $prod;
$tmp_prod =~ s/\@VALUENAME\@/$name/g;
$tmp_prod =~ s/\@valuenick\@/$nick/g;