diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-27 22:41:59 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-27 22:41:59 +0100 |
commit | e44bd09ac3a28823d9947c54949d115619003fe4 (patch) | |
tree | 66e3efcd35046d44c161fddabf5f7cb880b16424 /windows/prefs.c | |
parent | 68938664411ac2ee82e39e11fe855a6cd1b32c7c (diff) | |
download | netsurf-e44bd09ac3a28823d9947c54949d115619003fe4.tar.gz netsurf-e44bd09ac3a28823d9947c54949d115619003fe4.tar.bz2 |
update windows frontend to not use depricated warn_user API
Diffstat (limited to 'windows/prefs.c')
-rw-r--r-- | windows/prefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/prefs.c b/windows/prefs.c index 1f8dfc95e..adc0101a7 100644 --- a/windows/prefs.c +++ b/windows/prefs.c @@ -37,12 +37,12 @@ static CHOOSEFONT *nsws_prefs_font_prepare(int fontfamily, HWND parent) { CHOOSEFONT *cf = malloc(sizeof(CHOOSEFONT)); if (cf == NULL) { - warn_user(messages_get("NoMemory"),0); + win32_warning(messages_get("NoMemory"),0); return NULL; } LOGFONT *lf = malloc(sizeof(LOGFONT)); if (lf == NULL) { - warn_user(messages_get("NoMemory"),0); + win32_warning(messages_get("NoMemory"),0); free(cf); return NULL; } |