From: tweenk Date: Sun, 7 Dec 2008 20:55:20 +0000 (+0000) Subject: Fix a typo that causes a runtime error during the preferences test. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e8ebaeb1196c691db1bbc589549ee4c45648d3d0;p=inkscape.git Fix a typo that causes a runtime error during the preferences test. --- diff --git a/src/preferences-test.h b/src/preferences-test.h index 32218daf3..79f852106 100644 --- a/src/preferences-test.h +++ b/src/preferences-test.h @@ -78,7 +78,7 @@ public: prefs->addObserver(obs); prefs->setInt(path, 10); TS_ASSERT_EQUALS(obs.value, 10); - prefs->setInt("some/other/random/path", 10); + prefs->setInt("/some/other/random/path", 10); TS_ASSERT_EQUALS(obs.value, 10); // value should not change prefs->removeObserver(obs);