Code

fix crash when displaying dash selector
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 23 Feb 2009 23:46:38 +0000 (23:46 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 23 Feb 2009 23:46:38 +0000 (23:46 +0000)
src/widgets/dash-selector.cpp

index 284a8a59676086daf05ef6df619bf913cd8ab9a2..594472f9cbce3d11e78a0a276815a0841d34e005 100644 (file)
@@ -119,6 +119,7 @@ SPDashSelector::init_dashes() {
                 }
                 pos += 1;
             }
+            dashes[pos] = NULL;
         } else {
             dashes = builtin_dashes;
         }