[email protected], le Sun 10 Oct 2010 16:29:59 +0200,
a écrit :
> ./screen.c:80:15: error: storage size of 'class' isn't constant
Uh. Well, the attached patch should be fine.
Samuel
Index: Drivers/Screen/Windows/screen.c
===================================================================
--- Drivers/Screen/Windows/screen.c (révision 5399)
+++ Drivers/Screen/Windows/screen.c (copie de travail)
@@ -78,7 +78,7 @@
static int
tryToAttach (HWND win) {
#define CONSOLEWINDOW "ConsoleWindowClass"
- static char class[strlen(CONSOLEWINDOW)+1];
+ static char class[] = CONSOLEWINDOW;
DWORD process;
if (GetClassName(win, class, sizeof(class)) != strlen(CONSOLEWINDOW)
|| memcmp(class,CONSOLEWINDOW,strlen(CONSOLEWINDOW)))
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty