mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +02:00
core, plugins: add missing parentheses when dereferencing a pointer with an array index
This commit is contained in:
@@ -292,7 +292,7 @@ weechat_python_output_flush ()
|
||||
char *temp_buffer, *command;
|
||||
int length;
|
||||
|
||||
if (!*python_buffer_output[0])
|
||||
if (!(*python_buffer_output)[0])
|
||||
return;
|
||||
|
||||
/* if there's no buffer, we catch the output, so there's no flush */
|
||||
|
||||
Reference in New Issue
Block a user