Mercurial > geeqie
comparison src/logwindow.c @ 1611:f2e62c65a696
Fix up too short array, reported by Michael Schwendt.
author | zas_ |
---|---|
date | Sat, 16 May 2009 11:31:48 +0000 |
parents | 8b89e3ff286b |
children | 956aab097ea7 |
comparison
equal
deleted
inserted
replaced
1610:4a3fa267fb65 | 1611:f2e62c65a696 |
---|---|
110 | 110 |
111 static void log_window_init(LogWindow *logwin) | 111 static void log_window_init(LogWindow *logwin) |
112 { | 112 { |
113 GtkTextBuffer *buffer; | 113 GtkTextBuffer *buffer; |
114 GdkColormap *colormap; | 114 GdkColormap *colormap; |
115 gboolean success[LOG_COUNT - 1]; | 115 gboolean success[LOG_COUNT]; |
116 gint i; | 116 gint i; |
117 | 117 |
118 g_assert(logwin != NULL); | 118 g_assert(logwin != NULL); |
119 g_assert(logwin->colors != NULL); | 119 g_assert(logwin->colors != NULL); |
120 | 120 |