(svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there.
This commit is contained in:
2
window.h
2
window.h
@@ -258,7 +258,7 @@ typedef struct querystr_d {
|
||||
// than on a 32-bit system. Therefore, the size is calculated from querystr_d
|
||||
// instead of a hardcoded number.
|
||||
// if any struct becomes bigger the querystr_d, it should be replaced.
|
||||
#define WINDOW_CUSTOM_SIZE sizeof(querystr_d)
|
||||
#define WINDOW_CUSTOM_SIZE sizeof(querystr_d) * 2
|
||||
|
||||
typedef struct Scrollbar {
|
||||
uint16 count, cap, pos;
|
||||
|
||||
Reference in New Issue
Block a user