From: tweenk Date: Tue, 9 Dec 2008 02:29:32 +0000 (+0000) Subject: preferences.cpp: Remove an assert that causes problems with some X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=db9d88bf13e3cf1c8cf9bd1001e03a62387da2a8;p=inkscape.git preferences.cpp: Remove an assert that causes problems with some input devices. --- diff --git a/src/preferences.cpp b/src/preferences.cpp index 76edc2f7c..ea3c015ef 100644 --- a/src/preferences.cpp +++ b/src/preferences.cpp @@ -489,7 +489,8 @@ Inkscape::XML::Node *Preferences::_getNode(Glib::ustring const &pref_key, bool c { // verify path g_assert( pref_key.at(0) == '/' ); - g_assert( pref_key.find('.') == Glib::ustring::npos ); + // No longer necessary, can cause problems with input devices which have a dot in the name + // g_assert( pref_key.find('.') == Glib::ustring::npos ); Inkscape::XML::Node *node = _prefs_doc->root(), *child = NULL; gchar **splits = g_strsplit(pref_key.data(), "/", 0);