diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-12-01 22:09:34 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-12-01 22:09:34 +0100 |
commit | 4b77a1728d8fffce96e597cceb16d6c598a7881a (patch) | |
tree | 766f2dd15955d5588ff2151f83bc02f987db595e /source/dialogs/run.c | |
parent | ff5214069787eccd51b3d71f82869563803cbc5b (diff) |
Remove custom code, replace by glib, fix fuzzy matching for unicode.
- Also fixes char endianess issues.
Diffstat (limited to 'source/dialogs/run.c')
-rw-r--r-- | source/dialogs/run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/run.c b/source/dialogs/run.c index 944301db..8a745142 100644 --- a/source/dialogs/run.c +++ b/source/dialogs/run.c @@ -340,7 +340,7 @@ static int run_token_match ( const Mode *sw, char **tokens, int not_ascii, int c static int run_is_not_ascii ( const Mode *sw, unsigned int index ) { const RunModePrivateData *rmpd = (const RunModePrivateData *) sw->private_data; - return is_not_ascii ( rmpd->cmd_list[index] ); + return !g_str_is_ascii ( rmpd->cmd_list[index] ); } Mode run_mode = { |