Fix another dfilter_compile() call.

Change-Id: I8b035a09b1bc1981a78a80e0a2547dce65a2ac9c
Reviewed-on: https://code.wireshark.org/review/6609
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-01-18 02:43:54 -08:00
parent cfcbb28671
commit c7500dd46a
1 changed files with 1 additions and 1 deletions

View File

@ -1306,7 +1306,7 @@ filter_tb_syntax_check(HWND hwnd, TCHAR *filter_text) {
/* Default window background */
SendMessage(hwnd, EM_SETBKGNDCOLOR, (WPARAM) 1, COLOR_WINDOW);
return;
} else if (dfilter_compile(utf_16to8(strval), &dfp)) { /* colorize filter string entry */
} else if (dfilter_compile(utf_16to8(strval), &dfp, NULL)) { /* colorize filter string entry */
if (dfp != NULL)
dfilter_free(dfp);
/* Valid (light green) */