All pastes #579243 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-20 16:09 UTC
rendered paste body
Index: xaml.cpp
===================================================================
--- xaml.cpp    (revision 80320)
+++ xaml.cpp    (working copy)
@@ -404,11 +404,12 @@
        if (p->error_args)
                return;
 
-       char **name = g_strsplit (el, "|", -1);
+       char **name = g_strsplit (el, "|",  -1);
        char *element;
 
        p->current_namespace = NULL;
-       if (name [1]) {
+       if (g_strv_length (name) == 2) {
+               printf ("FOUND CUSTOM NAMESPACE:  %s\n", name [0]);
                // Find the proper namespace
                p->current_namespace = (XamlNamespace *) g_hash_table_lookup (p->namespace_map, name [0]);
                element = name [1];