[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb-20060414 snapshot



> Good. However, something happened with actions, since the File->Load
> does not work, nor File->Revert.

Here's a patch.

Index: global.h
===================================================================
RCS file: /cvsroot/pcb/pcb/src/global.h,v
retrieving revision 1.42
diff -p -U2 -r1.42 global.h
--- global.h	12 Apr 2006 22:51:02 -0000	1.42
+++ global.h	14 Apr 2006 21:33:08 -0000
@@ -716,5 +716,5 @@ typedef struct
  */
 #define AUSAGE(x) Message ("Usage:\n%s\n", (x##_syntax))
-#define AFAIL(x) Message ("Syntax error.  Usage:\n%s\n", (x##_syntax)); return 1
+#define AFAIL(x) { Message ("Syntax error.  Usage:\n%s\n", (x##_syntax)); return 1; }
 
 #endif /* __GLOBAL_INCLUDED__  */