[glib] mkenums: Fix typo



commit 35db0457297d29a5d2446c7af840eb74324e90be
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Jul 16 17:25:08 2017 +0100

    mkenums: Fix typo
    
    There's a stray '~' that needs to be removed.

 gobject/glib-mkenums.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in
index 602f271..1b03142 100755
--- a/gobject/glib-mkenums.in
+++ b/gobject/glib-mkenums.in
@@ -477,7 +477,7 @@ def process_file(curfilename):
                 prod = prod.replace('\u0040ENUMNAME\u0040', enumlong)
                 prod = prod.replace('\u0040ENUMPREFIX\u0040', enumname_prefix)
                 if flags:
-                    prod = ~prod.replace('\u0040type\u0040', 'flags')
+                    prod = prod.replace('\u0040type\u0040', 'flags')
                 else:
                     prod = prod.replace('\u0040type\u0040', 'enum')
                 if flags:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]