From: bryce Date: Sat, 22 Dec 2007 19:00:50 +0000 (+0000) Subject: Fix typo in an array causing a write off the end. Causes bug if no X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b84674f56b1a42d0d7a4a625a182c7de73858678;p=inkscape.git Fix typo in an array causing a write off the end. Causes bug if no sizes were loaded from the preferences file. Closes LP: #178139. --- diff --git a/src/dialogs/iconpreview.cpp b/src/dialogs/iconpreview.cpp index e61b7d7f9..3994ba454 100644 --- a/src/dialogs/iconpreview.cpp +++ b/src/dialogs/iconpreview.cpp @@ -126,7 +126,7 @@ IconPreviewPanel::IconPreviewPanel() : sizes[1] = 24; sizes[2] = 32; sizes[3] = 48; - sizes[5] = 128; + sizes[4] = 128; } pixMem = new guchar*[numEntries];