qstat (2.11-3) spelling_fixes.patch

Summary

 qstat.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Description: Fix spelling errors in user visible strings
Author: Jordi Mallach <jordi@debian.org>
Forwarded: no

Index: b/qstat.c
===================================================================
--- a/qstat.c	2010-06-07 00:10:17.366495893 +0200
+++ b/qstat.c	2010-06-07 00:10:17.653996023 +0200
@@ -2673,13 +2673,13 @@
 	printf( " -d\t\tenable debug options. Specify multiple times to increase debug level\n");
 #ifdef ENABLE_DUMP
 	printf( " -dump\t\twrite received raw packets to dumpNNN files which must not exist before\n");
-	printf( " -pkt <file>\tuse file as server reply instead of quering the server. Works only with TF_SINGLE_QUERY servers\n");
+	printf( " -pkt <file>\tuse file as server reply instead of querying the server. Works only with TF_SINGLE_QUERY servers\n");
 #endif
 	printf( " -htmlmode\tconvert <, >, and & to the equivalent HTML entities\n" );
 	printf( " -htmlnames\tcolorize Quake 3 and Tribes 2 player names using html font tags\n" );
 	printf( " -nohtmlnames\tdo not colorize Quake 3 and Tribes 2 player names even if $HTML is used in an output template\n" );
 	printf( " -showgameport\talways display the game port in QStat output\n" );
-	printf( " -noportoffset\tdont use builtin status port offsets (assume query port was specified)\n" );
+	printf( " -noportoffset\tdo not use builtin status port offsets (assume query port was specified)\n" );
 	printf( " -raw-arg\twhen used with -raw, always display the server address as it appeared in a file or on the command-line\n" );
 	printf( " -utf8\t\tuse the UTF-8 character encoding for XML output\n" );
 #ifdef _WIN32
@@ -8647,7 +8647,7 @@
 	case 2: strcpy(str,"COOP"); break;
 	case 3: strcpy(str,"SOLO"); break;
 	case 4: strcpy(str,"TEAM"); break;
-	default: sprintf(str,"UNKOWN %u",pkt[0]); break;
+	default: sprintf(str,"UNKNOWN %u",pkt[0]); break;
 	};
 
 	add_rule( server, "gamemode", str, NO_FLAGS);