summaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-18 21:30:44 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-18 21:30:44 +0000
commit61af68d71a26666e1e6b200d3a53f4354bdeb180 (patch)
treeeeeaf693341897b5c8c0465621ba1e57dea2e66b /vhook
parent818ff9a4ebd558794ae25005811d0f3c549e6c0c (diff)
Use parentheses around assignment used as truth value, fix warning.
Originally committed as revision 17437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/imlib2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index cf55031b6e..eed6c236d2 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;