fix segfault on %Rb token
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23798 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a2d8212a84
commit
85bcd1eaf7
1 changed files with 1 additions and 1 deletions
|
@ -1122,8 +1122,8 @@ const char *get_token_value(struct gui_wps *gwps,
|
|||
break;
|
||||
}
|
||||
#endif
|
||||
*intval = global_settings.mp3_enc_config.bitrate+1;
|
||||
}
|
||||
*intval = global_settings.mp3_enc_config.bitrate+1;
|
||||
snprintf(buf, buf_size, "%d", global_settings.mp3_enc_config.bitrate+1);
|
||||
return buf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue