[easytag] Mark string array as containing const pointers
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Mark string array as containing const pointers
- Date: Sun, 6 Oct 2013 18:12:07 +0000 (UTC)
commit b8998aa2c9ca2773c147d5a9c04f9c738f5510c1
Author: David King <amigadave amigadave com>
Date: Sun Oct 6 11:10:50 2013 +0100
Mark string array as containing const pointers
src/scan.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/scan.c b/src/scan.c
index 3c99c07..3f3bc38 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -1505,7 +1505,7 @@ void Scan_Process_Fields_First_Letters_Uppercase (gchar *string)
gboolean set_to_upper_case, set_to_upper_case_tmp;
// There have to be space at the end of words to seperate them from prefix
// Chicago Manual of Style "Heading caps" Capitalization Rules (CMS 1993, 282)
(http://www.docstyles.com/cmscrib.htm#Note2)
- gchar *exempt[] =
+ const gchar * exempt[] =
{
"a ", "a_",
"against ", "against_",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]