Mercurial > mm7
diff UI/UIPopup.cpp @ 1843:2e6d3cd052e0
some char* cast removal + adding const_casts where appropriate
author | Grumpy7 |
---|---|
date | Sun, 13 Oct 2013 07:18:03 +0200 |
parents | 175bf8da83d9 |
children | 02bc0fac639f |
line wrap: on
line diff
--- a/UI/UIPopup.cpp Sun Oct 13 06:32:06 2013 +0200 +++ b/UI/UIPopup.cpp Sun Oct 13 07:18:03 2013 +0200 @@ -1289,7 +1289,7 @@ int v5; // esi@62 GUIButton *pButton; // esi@84 const char *pStr; // edi@85 - char *pHint; // edx@113 + const char *pHint; // edx@113 GUIWindow popup_window; // [sp+4h] [bp-74h]@32 struct tagPOINT Point; // [sp+60h] [bp-18h]@6 unsigned int pX; // [sp+70h] [bp-8h]@3 @@ -1555,7 +1555,7 @@ } if ( popup_window.Hint ) { - pHint = (char*)popup_window.Hint; + pHint = popup_window.Hint; popup_window.Hint = 0; popup_window.uFrameWidth = 384; popup_window.uFrameHeight = 256;