Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggi committed Oct 26, 2019
1 parent 8e27ad2 commit ca39497
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mdialog.inc
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@
#endif

#if !FIX_const
native MDialog_ShowPlayerDialog(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[]) = ShowPlayerDialog;
native MDialogFix_ShowPlayerDialog(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[]) = ShowPlayerDialog;

#if defined _ALS_ShowPlayerDialog
#undef ShowPlayerDialog
#else
#define _ALS_ShowPlayerDialog
#endif

#define ShowPlayerDialog MDialog_ShowPlayerDialog
#define ShowPlayerDialog MDialogFix_ShowPlayerDialog

#if defined MDIALOG_FIX_CLEAR
#undef MDIALOG_FIX_CLEAR
Expand Down Expand Up @@ -638,7 +638,7 @@ stock Dialog_MessageEx(playerid, const response[], const caption[], const info[]
OnDialogResponse
*/

public OnDialogResponse(playerid, dialogid, response, listitem, const inputtext[])
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
static temp[128];
_MDialog_strcpy(temp, inputtext);
Expand Down Expand Up @@ -679,7 +679,7 @@ public OnDialogResponse(playerid, dialogid, response, listitem, const inputtext[

#define OnDialogResponse MDialog_OnDialogResponse
#if defined MDialog_OnDialogResponse
forward MDialog_OnDialogResponse(playerid, dialogid, response, listitem, const inputtext[]);
forward MDialog_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
#endif

/*
Expand Down

0 comments on commit ca39497

Please sign in to comment.