summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-12-03 23:11:52 +0000
committerTim Angus <tim@ngus.net>2006-12-03 23:11:52 +0000
commitc79b33f5cf1c0fd0586f5aba1d325bfe171470f7 (patch)
treef4395d0e0802e157d3a6962349c401b7b82cbaca /src/client
parent6b892b39592bc3fdf7e94616917f39ec071d390d (diff)
* Fucking tabs...
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_ui.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c
index 3b35709a..91c1c6c1 100644
--- a/src/client/cl_ui.c
+++ b/src/client/cl_ui.c
@@ -410,25 +410,25 @@ static int LAN_CompareServers( int source, int sortKey, int sortDir, int s1, int
res = 0;
switch( sortKey ) {
case SORT_HOST:
- {
- char hostName1[ MAX_HOSTNAME_LENGTH ];
- char hostName2[ MAX_HOSTNAME_LENGTH ];
- char *p;
- int i;
-
- for( p = server1->hostName, i = 0; *p != '\0'; p++ )
- {
- if( Q_isalpha( *p ) )
- hostName1[ i++ ] = *p;
- }
- hostName1[ i ] = '\0';
-
- for( p = server2->hostName, i = 0; *p != '\0'; p++ )
- {
- if( Q_isalpha( *p ) )
- hostName2[ i++ ] = *p;
- }
- hostName2[ i ] = '\0';
+ {
+ char hostName1[ MAX_HOSTNAME_LENGTH ];
+ char hostName2[ MAX_HOSTNAME_LENGTH ];
+ char *p;
+ int i;
+
+ for( p = server1->hostName, i = 0; *p != '\0'; p++ )
+ {
+ if( Q_isalpha( *p ) )
+ hostName1[ i++ ] = *p;
+ }
+ hostName1[ i ] = '\0';
+
+ for( p = server2->hostName, i = 0; *p != '\0'; p++ )
+ {
+ if( Q_isalpha( *p ) )
+ hostName2[ i++ ] = *p;
+ }
+ hostName2[ i ] = '\0';
res = Q_stricmp( hostName1, hostName2 );
}