Commit d9a487c2 authored by Antoine Cellerier's avatar Antoine Cellerier

Untested windows compile fix.

parent d4f950b3
...@@ -964,6 +964,10 @@ char *str_format( vlc_object_t *p_this, const char *psz_src ) ...@@ -964,6 +964,10 @@ char *str_format( vlc_object_t *p_this, const char *psz_src )
*/ */
void filename_sanitize( char *str ) void filename_sanitize( char *str )
{ {
#if defined( WIN32 )
char *str_base = str;
#endif
if( *str == '.' && (str[1] == '\0' || (str[1] == '.' && str[2] == '\0' ) ) ) if( *str == '.' && (str[1] == '\0' || (str[1] == '.' && str[2] == '\0' ) ) )
{ {
while( *str ) while( *str )
......
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