don't mangle UTF-8 chars for __BEOS__, from the GG patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -624,6 +624,11 @@ static struct ignore_pattern *ignore_patterns;
|
|||||||
want to mess up the terminal if control chars get sent to it, and some
|
want to mess up the terminal if control chars get sent to it, and some
|
||||||
quoting methods pass through control chars as-is. */
|
quoting methods pass through control chars as-is. */
|
||||||
static int qmark_funny_chars;
|
static int qmark_funny_chars;
|
||||||
|
#ifdef __BEOS__ /* Default to show UTF8 chars in BeOS terminal. */
|
||||||
|
#define QMARK_FUNNY_CHARS_TTY 0
|
||||||
|
#else
|
||||||
|
#define QMARK_FUNNY_CHARS_TTY 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Quoting options for file and dir name output. */
|
/* Quoting options for file and dir name output. */
|
||||||
|
|
||||||
@@ -1243,7 +1248,7 @@ decode_switches (int argc, char **argv)
|
|||||||
/* Record whether there is an option specifying sort type. */
|
/* Record whether there is an option specifying sort type. */
|
||||||
int sort_type_specified = 0;
|
int sort_type_specified = 0;
|
||||||
|
|
||||||
qmark_funny_chars = 0;
|
qmark_funny_chars = QMARK_FUNNY_CHARS_TTY;
|
||||||
|
|
||||||
/* initialize all switches to default settings */
|
/* initialize all switches to default settings */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user