From db9d88bf13e3cf1c8cf9bd1001e03a62387da2a8 Mon Sep 17 00:00:00 2001 From: tweenk Date: Tue, 9 Dec 2008 02:29:32 +0000 Subject: [PATCH] preferences.cpp: Remove an assert that causes problems with some input devices. --- src/preferences.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2