/*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
// Copy the input, so that threading
// doesn't trip us up!
char *data = new char[128];
- strncpy(data, tname, sizeof data);
+ strlcpy(data, tname, 128);
SDL_Thread *thread = SDL_CreateThread(medalWorker, (void*)data);