Punctuation between keys for readability.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2359 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#include "SDL_gfxPrimitives.h"
|
#include "SDL_gfxPrimitives.h"
|
||||||
|
|
||||||
@@ -117,7 +118,7 @@ main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
if (held_keys[0])
|
if (held_keys[0])
|
||||||
{
|
{
|
||||||
strcat(held_keys, " ");
|
strcat(held_keys, " | ");
|
||||||
}
|
}
|
||||||
strcat(held_keys, SDL_GetKeyName (i));
|
strcat(held_keys, SDL_GetKeyName (i));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user