Remove redundant casts from c_str to string

Thanks Aru
This commit is contained in:
Lirusaito
2019-03-06 16:11:31 -05:00
parent cd02bbd1cb
commit 324f12641a
3 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ BOOL check_for_card(const char* RENDERER, const char* bad_card)
"You can try to run Second Life, but it will probably crash or run\n"
"very slowly. Try anyway?",
bad_card);
S32 button = OSMessageBox(buffer.c_str(), "Unsupported video card", OSMB_YESNO);
S32 button = OSMessageBox(buffer, "Unsupported video card", OSMB_YESNO);
if (OSBTN_YES == button)
{
return FALSE;