From 701b520a86d83e811211d9be52fbd29de54c9e9d Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 20 Feb 2011 09:49:08 +0100 Subject: [PATCH] Sostituita funziona strrchr con g_strrstr. --- src/solipa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/solipa.c b/src/solipa.c index 86ac2e7..e6476a2 100644 --- a/src/solipa.c +++ b/src/solipa.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Andrea Zagli + * Copyright (C) 2010-2011 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -110,7 +110,7 @@ Solipa moddir = g_win32_get_package_installation_directory_of_module (NULL); - p = strrchr (moddir, G_DIR_SEPARATOR); + p = g_strrstr (moddir, g_strdup_printf ("%c", G_DIR_SEPARATOR)); if (p != NULL && (g_ascii_strcasecmp (p + 1, "src") == 0 || g_ascii_strcasecmp (p + 1, ".libs") == 0)) -- 2.49.0