Permalink
Browse files

order fix

  • Loading branch information...
1 parent da92d40 commit afcf8ff9de38d13901548bfd969bd440763dbab6 @stransky committed Mar 4, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 src/kofola/Apak.cpp
View
@@ -341,6 +341,15 @@ void apakclose(APAK_HANDLE * pHandle)
free((void *) pHandle);
}
+void apak_dir_correction(char *dir, char *out)
+{
+ if(dir && tolower(dir[0]) != 'c' && dir[1] != ':') {
+ out[0] = 'c';
+ out[1] = ':';
+ strcpy(out+2, dir);
+ }
+}
+
char * apak_dir_correction(char *dir)
{
static char tmp[MAX_PATH] = "c:";
@@ -351,12 +360,3 @@ char * apak_dir_correction(char *dir)
strcat(tmp+2, dir);
return(tmp);
}
-
-void apak_dir_correction(char *dir, char *out)
-{
- if(dir && tolower(dir[0]) != 'c' && dir[1] != ':') {
- out[0] = 'c';
- out[1] = ':';
- strcpy(out+2, dir);
- }
-}

0 comments on commit afcf8ff

Please sign in to comment.