diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2008-12-09 02:29:32 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2008-12-09 02:29:32 +0000 |
| commit | bb387dc54093cb4bcc5e5ec6112d5d368d9b6448 (patch) | |
| tree | 5fe50ca52fbebf855d09899b4298cec899ecaa5e /src | |
| parent | Simplify "make check" makefile rules and remove most of the obsolete (diff) | |
| download | inkscape-bb387dc54093cb4bcc5e5ec6112d5d368d9b6448.tar.gz inkscape-bb387dc54093cb4bcc5e5ec6112d5d368d9b6448.zip | |
preferences.cpp: Remove an assert that causes problems with some
input devices.
(bzr r6977)
Diffstat (limited to 'src')
| -rw-r--r-- | src/preferences.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
