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 2084

Summary: SDL_log xxx on Android outputs to Logcat with incorrect priority.
Product: SDL Reporter: Pallav Nawani <pallavnawani>
Component: *don't know*Assignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: HG 2.1   
Hardware: Other   
OS: Android (All)   
Attachments: Patch to solve the bug.

Description Pallav Nawani 2013-09-03 10:01:51 UTC
Created attachment 1319 [details]
Patch to solve the bug.

This effects all SDL_Logxxx functions. On android, the debug output has a priority that is 1 higher than intended, ie, if you try SDL_LogInfo, the log has the priority of Warn instead.

The one line fix is attached.
Comment 1 Pallav Nawani 2013-09-03 10:03:19 UTC
The attached patch is for SDL_log.c.
Comment 2 Sam Lantinga 2013-09-05 13:43:59 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/627ce8499c81