From b84674f56b1a42d0d7a4a625a182c7de73858678 Mon Sep 17 00:00:00 2001 From: bryce Date: Sat, 22 Dec 2007 19:00:50 +0000 Subject: [PATCH] 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. --- src/dialogs/iconpreview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2