We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4434 - SDL_LoadBMP does not support path name that contains space bar on Windows
Summary: SDL_LoadBMP does not support path name that contains space bar on Windows
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: file (show other bugs)
Version: 2.0.9
Hardware: x86_64 Windows 10
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-27 11:17 UTC by hzhou3
Modified: 2018-12-27 11:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hzhou3 2018-12-27 11:17:33 UTC
SDL_LoadBMP does not support path name that contains space bar on Windows. For example, 

SDL_Surface* pTempSurface = SDL_LoadBMP("..\\assets in this book\\rider.bmp"); 

will return NULL. Please fix it.