DragonFly commits List (threaded) for 2013-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_3_2 games/atc: Fix a logic bug.
commit e1dad499f942b88618bab2f62bdd2f7ae9f58209
Author: Sascha Wildner <saw@online.de>
Date: Thu Feb 7 20:05:52 2013 +0100
games/atc: Fix a logic bug.
The original logic should have really been:
if ((l < 'a' && l > 'z') || (l < 'A' && l > 'Z'))
But using islower()/isupper() is simpler and more readable.
Taken-from: NetBSD
Summary of changes:
games/atc/update.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1dad499f942b88618bab2f62bdd2f7ae9f58209
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]