projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The WinSock library is now loaded at run-time, which means we can
[u/mdw/putty]
/
winctrls.c
diff --git
a/winctrls.c
b/winctrls.c
index
7f503c9
..
4a35cb6
100644
(file)
--- a/
winctrls.c
+++ b/
winctrls.c
@@
-13,17
+13,14
@@
* button.
*/
* button.
*/
-#include <windows.h>
-#include <commctrl.h>
#include <assert.h>
#include <ctype.h>
#include <assert.h>
#include <ctype.h>
-#include "
winstuff
.h"
+#include "
putty
.h"
#include "misc.h"
#include "dialog.h"
#include "misc.h"
#include "dialog.h"
-#include "puttymem.h"
-#include
"putty.h"
+#include
<commctrl.h>
#define GAPBETWEEN 3
#define GAPWITHIN 1
#define GAPBETWEEN 3
#define GAPWITHIN 1
@@
-287,6
+284,7
@@
void radioline(struct ctlpos *cp, char *text, int id, int nacross, ...)
if (!btext)
break;
bid = va_arg(ap, int);
if (!btext)
break;
bid = va_arg(ap, int);
+ nbuttons++;
}
va_end(ap);
buttons = snewn(nbuttons, struct radio);
}
va_end(ap);
buttons = snewn(nbuttons, struct radio);