diff src/toolbar-msw.c @ 1130:ccd0667b4764

[xemacs-hg @ 2002-11-30 08:10:24 by ben] To: xemacs-patches@xemacs.org eval.c: Fix up C debugger entrance -- first output the error message, then stack trace, then exiting message, then force debugger. frame-msw.c: Use EQ not EQUAL to avoid QUIT tripping. toolbar-msw.c: Indentation fixes.
author ben
date Sat, 30 Nov 2002 08:10:26 +0000
parents c15f25529e61
children f0af455e89d9
line wrap: on
line diff
--- a/src/toolbar-msw.c	Fri Nov 29 22:53:04 2002 +0000
+++ b/src/toolbar-msw.c	Sat Nov 30 08:10:26 2002 +0000
@@ -111,11 +111,11 @@
       i = qxeSendMessage (toolbarwnd, TB_BUTTONCOUNT, 0, 0);
       for (i--; i >= 0; i--)
 	{
-	  qxeSendMessage (toolbarwnd, TB_GETBUTTON, (WPARAM)i, 
-		       (LPARAM)&info);
-	  Fremhash(make_int(info.idCommand), 
-		   FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE(f));
-	  qxeSendMessage (toolbarwnd, TB_DELETEBUTTON, (WPARAM)i, 0);
+	  qxeSendMessage (toolbarwnd, TB_GETBUTTON, (WPARAM) i,
+		       (LPARAM) &info);
+	  Fremhash (make_int (info.idCommand), 
+		    FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE (f));
+	  qxeSendMessage (toolbarwnd, TB_DELETEBUTTON, (WPARAM) i, 0);
 	}
 	  
       /* finally get rid of the image list assuming it clears up its