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,9 +271,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -271,9 +271,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if( config_LoadCmdLine( p_libvlc, i_argc, ppsz_argv, &vlc_optind ) ) if( config_LoadCmdLine( p_libvlc, i_argc, ppsz_argv, &vlc_optind ) )
{ {
#ifdef WIN32 #ifdef WIN32
MessageBoxA (NULL, "The command line options could not be parsed.\n" MessageBox (NULL, TEXT("The command line options could not be parsed.\n"
"Make sure they are valid.", "VLC media player", "Make sure they are valid."), TEXT("VLC media player"),
MB_OK|MB_ICONERROR); MB_OK|MB_ICONERROR);
#endif #endif
module_EndBank (true); module_EndBank (true);
return VLC_EGENERIC; return VLC_EGENERIC;
......
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