From 61af68d71a26666e1e6b200d3a53f4354bdeb180 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 18 Feb 2009 21:30:44 +0000 Subject: [PATCH] Use parentheses around assignment used as truth value, fix warning. Originally committed as revision 17437 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/imlib2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhook/imlib2.c b/vhook/imlib2.c index cf55031b6..eed6c236d 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -165,7 +165,7 @@ int Configure(void **ctxp, int argc, char *argv[]) /* Use ':' to split FONTPATH */ if (fp) - while (p = strchr(fp, ':')) { + while ((p = strchr(fp, ':'))) { *p = 0; imlib_add_path_to_font_path(fp); fp = p + 1; -- 2.11.0