summaryrefslogtreecommitdiffstats
path: root/src/style-test.cpp
diff options
context:
space:
mode:
authorKees Cook <kees@outflux.net>2007-01-13 07:28:41 +0000
committerkeescook <keescook@users.sourceforge.net>2007-01-13 07:28:41 +0000
commitd51c37d151d2e080aec01158d77eaadd0b213e13 (patch)
tree74ceffd02b0ad1b5d8ae176ac5e830278dc32a5f /src/style-test.cpp
parentfull correction for rest of test builds (diff)
downloadinkscape-d51c37d151d2e080aec01158d77eaadd0b213e13.tar.gz
inkscape-d51c37d151d2e080aec01158d77eaadd0b213e13.zip
fixes for style-test prefs crashes
(bzr r2202)
Diffstat (limited to 'src/style-test.cpp')
-rw-r--r--src/style-test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/style-test.cpp b/src/style-test.cpp
index 54be0040e..5c123704b 100644
--- a/src/style-test.cpp
+++ b/src/style-test.cpp
@@ -619,6 +619,7 @@ test_style()
utest_start("style");
UTEST_TEST("sp_style_new, sp_style_write_string") {
SPStyle *style = sp_style_new();
+ g_assert(style);
gchar *str0_all = sp_style_write_string(style, SP_STYLE_FLAG_ALWAYS);
gchar *str0_set = sp_style_write_string(style, SP_STYLE_FLAG_IFSET);
UTEST_ASSERT(*str0_set == '\0');