diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-01 22:47:25 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-01 22:47:25 +0000 |
commit | 5c4ef78cc983212a0c2e0868929aa2b699855087 (patch) | |
tree | 6bf9a1e14b5aaf4961561673ee4ef364b3790562 /apps/gui/viewport.c | |
parent | e35a15cf54a104ff58ee889112d5040654f85ccc (diff) | |
download | rockbox-5c4ef78cc983212a0c2e0868929aa2b699855087.tar.gz rockbox-5c4ef78cc983212a0c2e0868929aa2b699855087.zip |
Simplify some expressions using the ? operator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/viewport.c')
-rw-r--r-- | apps/gui/viewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 6e0d269228..22eccc161f 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c | |||
@@ -285,7 +285,7 @@ static unsigned viewport_init_ui_vp(void) | |||
285 | ret = viewport_parse_viewport(&custom_vp[screen], screen, | 285 | ret = viewport_parse_viewport(&custom_vp[screen], screen, |
286 | setting, ','); | 286 | setting, ','); |
287 | 287 | ||
288 | custom_vp_loaded_ok[screen] = ret?true:false; | 288 | custom_vp_loaded_ok[screen] = (ret != NULL); |
289 | } | 289 | } |
290 | return true; /* meh fixme */ | 290 | return true; /* meh fixme */ |
291 | } | 291 | } |