DragonFly BSD
DragonFly bugs List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Hangman: case-sensitive problem?


To: Dylan Reinhold <dylan@xxxxxxxxxxxxxxxx>
From: Sascha Wildner <saw@xxxxxxxxx>
Date: Thu, 24 Jun 2010 10:56:19 +0200

On 6/24/2010 5:53, Dylan Reinhold wrote:
The code makes all your answers lower case.

This patch will also compare the uppercase version of your letter.

I've fixed it. However I took OpenBSD's code (oops, should have noted that in the commit message) which calls toupper() only once.


Regards,
Sascha



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]