[easytag] Fix Roman numeral capitalization
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix Roman numeral capitalization
- Date: Thu, 6 Mar 2014 09:07:05 +0000 (UTC)
commit e43447037ef994976961c015bfe00fc4163dc2ea
Author: Santtu Lakkala <inz inz fi>
Date: Thu Mar 6 08:20:29 2014 +0200
Fix Roman numeral capitalization
Roman numeral capitalization was broken by the leak fix in commit
ae3dd7b81ba283ba0e9ea3d4aff326deedcc077e due to wrong variable usage.
src/scan.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/scan.c b/src/scan.c
index 1a0bf52..e2476aa 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -1590,8 +1590,8 @@ void Scan_Process_Fields_First_Letters_Uppercase (gchar *string)
// If the word is a roman numeral, capitalize all of it
if ((len = Scan_Word_Is_Roman_Numeral(word)))
{
- gchar *tmp = g_utf8_strup (temp, len);
- strncpy (string, tmp, len);
+ gchar *tmp = g_utf8_strup (word, len);
+ strncpy (word, tmp, len);
g_free (tmp);
} else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]