diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:03:59 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:03:59 -0500 |
commit | e153488780f86cf6f647b814f8ff6f3a535a0d7e (patch) | |
tree | 456c0f07f0d973cfc92dae357cdfb03309f5efa3 /string_utils.c | |
parent | 60c5196e62175458615117aab397aaac9ccda5a1 (diff) |
astyle fixes
Diffstat (limited to 'string_utils.c')
-rw-r--r-- | string_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/string_utils.c b/string_utils.c index 77765d2..7fba9bb 100644 --- a/string_utils.c +++ b/string_utils.c @@ -155,12 +155,12 @@ gchar* conditional_regex_replace (gboolean do_it, gchar* in_string, gchar* regex gchar *out; if (do_it) { - GRegex *regex = g_regex_new (regex_string, 0, 0, NULL); - out = g_regex_replace_literal (regex, in_string, -1, 0, replace_with, 0, NULL); - g_regex_unref (regex); + GRegex *regex = g_regex_new (regex_string, 0, 0, NULL); + out = g_regex_replace_literal (regex, in_string, -1, 0, replace_with, 0, NULL); + g_regex_unref (regex); } else { out = g_strdup (in_string); } - return out; + return out; } |