summaryrefslogtreecommitdiffstats
path: root/source/dialogs/run.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-12-01 22:09:34 +0100
committerDave Davenport <qball@gmpclient.org>2015-12-01 22:09:34 +0100
commit4b77a1728d8fffce96e597cceb16d6c598a7881a (patch)
tree766f2dd15955d5588ff2151f83bc02f987db595e /source/dialogs/run.c
parentff5214069787eccd51b3d71f82869563803cbc5b (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.c2
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 =
{