|
@@ -61,7 +61,7 @@ int main()
|
|
|
// Load image file (if supported extension)
|
|
|
if (IsFileExtension(fileDialogState.fileNameText, ".png"))
|
|
|
{
|
|
|
- strcpy(fileNameToLoad, TextFormat("%s/%s", fileDialogState.dirPathText, fileDialogState.fileNameText));
|
|
|
+ strcpy(fileNameToLoad, TextFormat("%s" PATH_SEPERATOR "%s", fileDialogState.dirPathText, fileDialogState.fileNameText));
|
|
|
UnloadTexture(texture);
|
|
|
texture = LoadTexture(fileNameToLoad);
|
|
|
}
|