diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2007-12-22 19:00:50 +0000 |
|---|---|---|
| committer | bryce <bryce@users.sourceforge.net> | 2007-12-22 19:00:50 +0000 |
| commit | deffc76d4a280d4aa7cb7141272791ccab1436c9 (patch) | |
| tree | 6a335158e98dcedc8365c47a0e8bbbf2134289c8 /src/dialogs/iconpreview.cpp | |
| parent | Updated the version numbers in the .rc files (diff) | |
| download | inkscape-deffc76d4a280d4aa7cb7141272791ccab1436c9.tar.gz inkscape-deffc76d4a280d4aa7cb7141272791ccab1436c9.zip | |
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.
(bzr r4277)
Diffstat (limited to 'src/dialogs/iconpreview.cpp')
| -rw-r--r-- | src/dialogs/iconpreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |
