summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--tools/enum.pl2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e7dbbb2..688ce567 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-19 Siavash Safi <siavash@siavashs.org>
+
+ * tools/enum.pl: Fix --module option to work
+
2009-05-18 Jonathon Jongsma <jonathon@quotidian.org>
Wrap new Gio::FileIOStream class
diff --git a/tools/enum.pl b/tools/enum.pl
index 97804c5f..f1b6cbee 100644
--- a/tools/enum.pl
+++ b/tools/enum.pl
@@ -103,7 +103,7 @@ sub process
my $entity = "enum";
$c_name =~ /^([A-Z][a-z]*)/;
- $module = $1;
+ $module = $1 if ($module eq "none");
$def =~ s/$module//;
@c_name=();