mirror of
https://github.com/lammertb/libhttp.git
synced 2025-09-04 12:42:09 +03:00
Replace is_numeric_option
This commit is contained in:
@@ -835,7 +835,7 @@ static void show_settings_dialog()
|
|||||||
x = 10 + (WIDTH / 2) * (nelems % 2);
|
x = 10 + (WIDTH / 2) * (nelems % 2);
|
||||||
y = (nelems/2 + 1) * HEIGHT + 5;
|
y = (nelems/2 + 1) * HEIGHT + 5;
|
||||||
width = WIDTH / 2 - 20 - LABEL_WIDTH;
|
width = WIDTH / 2 - 20 - LABEL_WIDTH;
|
||||||
if (is_numeric_options(options[i].name)) {
|
if (options[i].type == CONFIG_TYPE_NUMBER) {
|
||||||
style |= ES_NUMBER;
|
style |= ES_NUMBER;
|
||||||
cl = 0x81;
|
cl = 0x81;
|
||||||
style |= WS_BORDER | ES_AUTOHSCROLL;
|
style |= WS_BORDER | ES_AUTOHSCROLL;
|
||||||
|
Reference in New Issue
Block a user