include/SDL_messagebox.h
changeset 7175 45276691c8c8
parent 6885 700f1b25f77f
child 7188 20bd120bf7e4
     1.1 --- a/include/SDL_messagebox.h	Mon May 13 23:00:50 2013 +0200
     1.2 +++ b/include/SDL_messagebox.h	Wed May 15 22:00:28 2013 +0200
     1.3 @@ -58,7 +58,7 @@
     1.4  typedef struct
     1.5  {
     1.6      Uint32 flags;       /**< ::SDL_MessageBoxButtonFlags */
     1.7 -    int buttonid;       /**< User defined button id (value returned via SDL_MessageBox) */
     1.8 +    int buttonid;       /**< User defined button id (value returned via SDL_ShowMessageBox) */
     1.9      const char * text;  /**< The UTF-8 button text */
    1.10  } SDL_MessageBoxButtonData;
    1.11  
    1.12 @@ -107,7 +107,7 @@
    1.13  /**
    1.14   *  \brief Create a modal message box.
    1.15   *
    1.16 - *  \param messagebox The SDL_MessageBox structure with title, text, etc.
    1.17 + *  \param messageboxdata The SDL_MessageBoxData structure with title, text, etc.
    1.18   *
    1.19   *  \return -1 on error, otherwise 0 and buttonid contains user id of button
    1.20   *          hit or -1 if dialog was closed.