Rodolfo García Peñas (kix) and Carlos R. Mafra
3250144b94
wIconChangeImageFile find image if block swapped
...
This patch swaps the "if (path)" block to "if (!path)"
therefore, the true block is now "error = 1" and the
false block is the call to get_rimage_from_file function.
The second change is that the "error = 1" statement is
changed to "return 0", because if "error" is "1", then
only the "return !error" statement is used, then we can
change it for "return !1 " that is "return 0".
Then, we can move the get_rimage_from_file call out of the
if block.
Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es >
2013-10-01 08:40:05 +02:00
..
2013-09-30 00:53:10 +02:00
2013-05-21 11:24:35 +01:00
2013-09-30 00:53:10 +02:00
2013-09-05 22:44:36 +01:00
2013-09-30 00:53:10 +02:00
2012-06-18 22:25:57 +01:00
2013-09-30 00:53:10 +02:00
2010-10-08 18:13:56 +02:00
2013-09-11 18:16:51 +01:00
2010-10-08 18:13:56 +02:00
2013-09-30 00:53:10 +02:00
2010-10-08 18:13:56 +02:00
2013-05-12 01:01:20 +01:00
2012-06-25 23:49:10 +01:00
2013-06-30 15:10:09 +01:00
2013-05-26 19:48:00 +01:00
2010-09-11 17:32:57 +02:00
2013-09-30 00:53:10 +02:00
2013-09-05 22:44:36 +01:00
2013-09-05 22:44:36 +01:00
2013-06-16 19:32:23 +01:00
2013-09-30 00:53:10 +02:00
2013-06-16 19:32:23 +01:00
2013-06-30 15:10:09 +01:00
2012-06-23 12:09:41 +01:00
2013-09-30 00:53:10 +02:00
2013-06-30 15:10:09 +01:00
2010-09-11 17:32:57 +02:00
2013-06-30 15:10:09 +01:00
2013-06-16 19:32:23 +01:00
2013-06-10 22:34:59 +01:00
2013-05-10 19:37:47 +01:00
2010-10-08 18:13:56 +02:00
2013-10-01 08:40:05 +02:00
2013-10-01 08:40:05 +02:00
2013-05-21 11:24:36 +01:00
2013-09-30 00:53:10 +02:00
2013-06-16 19:32:23 +01:00
2013-05-26 19:48:00 +01:00
2013-09-30 00:53:10 +02:00
2013-06-16 19:32:23 +01:00
2013-06-30 15:10:09 +01:00
2013-06-16 19:32:23 +01:00
2013-06-30 15:10:09 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2010-10-08 18:13:56 +02:00
2013-09-30 00:53:10 +02:00
2013-09-22 17:12:54 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2012-05-04 18:41:01 -03:00
2010-10-08 18:13:56 +02:00
2013-06-30 15:10:09 +01:00
2013-05-12 01:01:20 +01:00
2013-09-30 00:53:10 +02:00
2012-04-04 19:44:40 +01:00
2013-06-16 19:32:23 +01:00
2013-06-16 19:32:23 +01:00
2013-09-30 00:53:10 +02:00
2012-06-24 12:30:17 +01:00
2013-09-30 00:53:10 +02:00
2013-09-05 22:44:36 +01:00
2013-09-30 00:53:10 +02:00
2012-06-26 10:49:05 +01:00
2013-09-30 00:53:10 +02:00
2013-05-10 19:37:47 +01:00
2013-09-30 00:53:10 +02:00
2012-11-19 00:12:46 +01:00
2013-09-30 00:53:10 +02:00
2013-05-26 19:48:00 +01:00
2013-06-30 15:10:09 +01:00
2013-04-12 02:14:10 +01:00
2013-06-30 15:10:09 +01:00
2013-05-26 19:48:00 +01:00
2013-09-30 00:53:10 +02:00
2013-05-02 20:41:07 +01:00
2013-06-30 15:10:09 +01:00
2013-06-16 19:32:23 +01:00
2013-06-30 15:10:09 +01:00
2010-10-08 18:13:56 +02:00
2013-05-11 00:17:27 +01:00
2013-09-30 00:53:10 +02:00
2013-03-21 10:01:04 +00:00
2013-09-05 22:44:36 +01:00
2011-02-17 19:29:15 +01:00
2013-09-30 00:53:10 +02:00
2013-06-16 19:32:23 +01:00
2013-09-30 00:53:10 +02:00
2013-09-30 00:53:10 +02:00
2013-05-26 19:48:00 +01:00
2013-09-30 00:53:10 +02:00
2013-05-12 01:01:20 +01:00
2013-09-30 00:53:10 +02:00
2012-11-04 00:35:36 +00:00
2013-09-30 00:53:10 +02:00
2013-06-16 19:32:23 +01:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2013-04-03 19:33:34 +01:00
2012-10-30 15:26:52 +00:00
2013-06-30 15:10:09 +01:00
2013-06-16 19:32:23 +01:00
2013-05-11 00:17:27 +01:00
2013-05-10 19:37:47 +01:00