Changeset d70106fdacae2af05ad20df231768cf59d4af191

Show
Ignore:
Timestamp:
16/01/08 16:41:35 (9 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1200498095 +0000
git-parent:

[9e5ebb072f77e40c135608ce660d08d2ac448ec6]

git-author:
Rafaël Carré <funman@videolan.org> 1200498095 +0000
Message:

fix #1362 (replace ':' with '_' in filenames on macosx)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/text/strings.c

    ree170e1 rd70106f  
    997997        { 
    998998            case '/': 
    999 #ifdef WIN32 
     999#if defined( __APPLE__ ) 
     1000            case ':': 
     1001#elif defined( WIN32 ) 
    10001002            case '\\': 
    10011003            case '*': 
     
    10321034    while( *str ) 
    10331035    { 
    1034 #ifdef WIN32 
     1036#if defined( __APPLE__ ) 
     1037        if( *str == ':' ) 
     1038            *str = '_'; 
     1039#elif defined( WIN32 ) 
    10351040        switch( *str ) 
    10361041        {