1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

Replace is_numeric_option

This commit is contained in:
bel
2014-02-21 23:47:35 +01:00
parent 674c00dfe0
commit 82cdef76c1

View File

@@ -835,7 +835,7 @@ static void show_settings_dialog()
x = 10 + (WIDTH / 2) * (nelems % 2);
y = (nelems/2 + 1) * HEIGHT + 5;
width = WIDTH / 2 - 20 - LABEL_WIDTH;
if (is_numeric_options(options[i].name)) {
if (options[i].type == CONFIG_TYPE_NUMBER) {
style |= ES_NUMBER;
cl = 0x81;
style |= WS_BORDER | ES_AUTOHSCROLL;