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 - SDL_log xxx on Android outputs to Logcat with incorrect priority.
Summary: SDL_log xxx on Android outputs to Logcat with incorrect priority.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.1
Hardware: Other Android (All)
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 10:01 UTC by Pallav Nawani
Modified: 2013-09-05 13:43 UTC (History)
0 users

See Also:


Attachments
Patch to solve the bug. (35 bytes, text/plain)
2013-09-03 10:01 UTC, Pallav Nawani
Details

Note You need to log in before you can comment on or make changes to this 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