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 3883

Summary: SDL_assert / SDL_PromptAssertion in TTY mode does not accept options ("abriA").
Product: SDL Reporter: shoerbaffen
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: 2.0.6   
Hardware: x86_64   
OS: Linux   
Attachments: SDL_strncmp instead of SDL_strcmp.

Description shoerbaffen 2017-10-15 19:00:05 UTC
fgets can read a newline and SDL_strcmp will never return zero.
Comment 1 shoerbaffen 2017-10-15 19:21:23 UTC
Created attachment 2986 [details]
SDL_strncmp instead of SDL_strcmp.
Comment 2 Sam Lantinga 2017-10-16 04:21:42 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/2eaf345a2a30