From df3786ac4022fb5d5369c482313d14c6a09ea228 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 22 May 2006 20:04:54 +0000 Subject: [PATCH] (command): Don't fold conditionals to lower case. This was added early in Chainsaw 3, most probably to make them case insensitive. This is of debatable utility, and inconsistent with the case sensitivity of commands and arguments. It also interferes with string conditionals: fleet#A is folded to fleet#a, which means something else! --- src/lib/player/player.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/player/player.c b/src/lib/player/player.c index b05cb419..0c649660 100644 --- a/src/lib/player/player.c +++ b/src/lib/player/player.c @@ -153,9 +153,6 @@ command(void) scanspace, &redir) < 0) { pr("See \"info Syntax\"?\n"); } else { - if (player->condarg != NULL) - for (i = 0; i < strlen(player->condarg); i++) - player->condarg[i] = tolower(player->condarg[i]); if (dispatch(player->combuf, redir) < 0) pr("Try \"list of commands\" or \"info\"\n"); }