1
0
Fork 0

DBG: fixed the DevicePathToPath function

This commit is contained in:
Mr. eXoDia 2014-04-17 21:05:50 +02:00
parent 8c24955031
commit 1e1b921afd
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ bool DevicePathToPath(const char* devicepath, char* path, size_t path_size)
{
if(strlen(devicepath)-curDevice_len>=path_size)
return false;
sprintf(path, "%s%s", curDrive, devicepath+curDevice_len);
sprintf(path, "%s\\%s", curDrive, devicepath+curDevice_len);
return true;
}
}