mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-22 02:52:38 +00:00
nJoy SDL, linux: fix some warnings and a bug. untested :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2691 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ad76edd157
commit
0489ccd420
3 changed files with 20 additions and 12 deletions
|
@ -363,7 +363,7 @@ void ConfigBox::ToBlank(bool ToBlank)
|
|||
{
|
||||
for(int i = IDB_ANALOG_MAIN_X; i <= IDB_BUTTONHALFPRESS; i++)
|
||||
#ifndef _WIN32
|
||||
if(GetButtonText(i, j).ToAscii() == "-1") SetButtonText(i, "", j);
|
||||
if(!strcmp(GetButtonText(i, j), "-1")) SetButtonText(i, "", j);
|
||||
#else
|
||||
if(GetButtonText(i, j) == "-1") SetButtonText(i, "", j);
|
||||
#endif
|
||||
|
@ -381,7 +381,7 @@ void ConfigBox::ToBlank(bool ToBlank)
|
|||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Change settings
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
void ConfigBox::SetButtonTextAll(int id, char text[128])
|
||||
void ConfigBox::SetButtonTextAll(int id, const char *text)
|
||||
{
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
|
@ -589,7 +589,7 @@ void ConfigBox::UpdateGUI(int _notebookpage)
|
|||
|
||||
// Paint the background
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
void ConfigBox::OnPaint( wxPaintEvent &event )
|
||||
void ConfigBox::OnPaint(wxPaintEvent &event)
|
||||
{
|
||||
event.Skip();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue