forked from osmocom/wireshark
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:
parent
cfcbb28671
commit
c7500dd46a
|
@ -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) */
|
||||
|
|
Loading…
Reference in New Issue