[AD] Patch to remove insulting message in exkeys.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The attatched patch changes the tone of the message exkeys.c responds with when they fail to press F6 when they are supposed to.

I made the patch to make using exkeys.c a nicer experience. While it is a good thing for someone to not take too personally an insulting message generated by an example program, sadly, not everyone out there thinks that way. It is not the place of the Allegro development team to encourage people to gain more exposure to the harsh realities that lie 'out there'. And besides, no matter how funny an insulting message is, it can eventually become annoying. Hopefully, the new message shoud be non-insulting.

AE.

--- exkeys.c.old	2007-05-20 11:33:56.000000000 +0200
+++ exkeys.c	2007-09-12 12:29:33.905152000 +0200
@@ -208,7 +208,7 @@ int main(void)
    while ((k>>8) != KEY_F6 && (k>>8) != KEY_ESC) {
       scroll();
       textprintf_ex(screen, font, 8, SCREEN_H-16, makecol(0, 0, 0), makecol(255, 255, 255),
-		    "Wrong key, stupid! I said press F6");
+		    "You pressed the wrong key. Press F6 instead.");
       release_screen();
       k = readkey();
       acquire_screen();


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/