Commit 9a4c8ab0 authored by Pierre Ynard's avatar Pierre Ynard

Use MessageBox() in a portable way

MessageBoxA() isn't supported on WinCE
parent ba1511a1
......@@ -271,8 +271,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if( config_LoadCmdLine( p_libvlc, i_argc, ppsz_argv, &vlc_optind ) )
{
#ifdef WIN32
MessageBoxA (NULL, "The command line options could not be parsed.\n"
"Make sure they are valid.", "VLC media player",
MessageBox (NULL, TEXT("The command line options could not be parsed.\n"
"Make sure they are valid."), TEXT("VLC media player"),
MB_OK|MB_ICONERROR);
#endif
module_EndBank (true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment