1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 06:46:55 +00:00

Treat \h as space character.

Patch by Robert Rudd (robrudd at users sourceforge net).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27439 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2008-08-07 22:20:54 +00:00
parent 054f28e2d1
commit 6c92d9358b

View File

@ -1072,7 +1072,7 @@ static unsigned get_next_char(char** str)
p += 2;
*str = p;
return '\n';
} else if (*(p+1) == 'n') {
} else if ((*(p+1) == 'n') || (*(p+1) == 'h')) {
p += 2;
*str = p;
return ' ';