X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.cpp;h=4557d1ee85853d1e692825bf7090eeb9b6822e21;hb=1a6ef830cdd01a9b7a8bbcfde8a51b7c430671a3;hp=3bca88542ffc81d26394b2790c0d55e894229407;hpb=5509b55dbc13227bdc7b97f2934fa71dad02cc66;p=lugaru.git diff --git a/Source/WinDefs.cpp b/Source/WinDefs.cpp index 3bca885..4557d1e 100644 --- a/Source/WinDefs.cpp +++ b/Source/WinDefs.cpp @@ -18,12 +18,12 @@ You should have received a copy of the GNU General Public License along with Lugaru. If not, see . */ -/**> HEADER FILES <**/ -#include "WinDefs.h" -#include +#include "WinDefs.hpp" + #include -#include #include +#include +#include class AppTime @@ -86,25 +86,3 @@ Duration AbsoluteDeltaToDuration( AbsoluteTime& a, AbsoluteTime& b) return time; } - - -static char g_filename[ 256]; -char* ConvertFileName( const char* orgfilename) -{ - // translate filename into proper path name - if (orgfilename[ 0] == ':') - orgfilename++; - strcpy( g_filename, orgfilename); - - for (int n = 0; g_filename[ n]; n++) { - if (g_filename[ n] == ':') - g_filename[ n] = '/'; - } - - return g_filename; -} - -char* ConvertFileName( const char* orgfilename, const char* junk) -{ - return ConvertFileName(orgfilename); -}