From 3309d5e5590c510f8518cb2cce4cd555df2211e5 Mon Sep 17 00:00:00 2001 From: jcid Date: Thu, 30 Oct 2008 18:23:03 +0100 Subject: - Reduced warnings with gcc-4.3. --- src/dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialog.cc') diff --git a/src/dialog.cc b/src/dialog.cc index 69781f32..8408782f 100644 --- a/src/dialog.cc +++ b/src/dialog.cc @@ -193,7 +193,7 @@ int a_Dialog_choice5(const char *QuestionTxt, txt[0] = txt[6] = NULL; txt[1] = alt1; txt[2] = alt2; txt[3] = alt3; txt[4] = alt4; txt[5] = alt5; - for (int i=1; txt[i]; ++i, ++nb); + for (int i=1; txt[i]; ++i, ++nb) ; Window *window = new Window(ww,wh,"Choice5"); window->begin(); -- cgit v1.2.3