[tracker/tracker-0.6] Small name changes to variables
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-0.6] Small name changes to variables
- Date: Wed, 17 Jun 2009 08:19:58 -0400 (EDT)
commit ced456e67311b68a66573f6e7c91726877597823
Author: Martyn Russell <martyn imendio com>
Date: Wed Jun 17 13:14:12 2009 +0100
Small name changes to variables
src/tracker-extract/tracker-extract-mp3.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index 514eed4..7b3b66b 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -459,7 +459,7 @@ un_unsync (const unsigned char *source,
static char*
get_encoding (const char *data, size_t size)
{
- gchar *encoding_string = NULL;
+ gchar *encoding = NULL;
#ifdef HAVE_ENCA
const char **langs;
@@ -467,7 +467,7 @@ get_encoding (const char *data, size_t size)
langs = enca_get_languages (&s);
- for (i = 0; i < s && !encoding_string; i++) {
+ for (i = 0; i < s && !encoding; i++) {
EncaAnalyser analyser;
EncaEncoding encoding;
@@ -475,8 +475,8 @@ get_encoding (const char *data, size_t size)
encoding = enca_analyse_const (analyser, data, size);
if (enca_charset_is_known (encoding.charset)) {
- encoding_string = g_strdup (enca_charset_name (encoding.charset,
- ENCA_NAME_STYLE_ICONV));
+ encoding = g_strdup (enca_charset_name (encoding.charset,
+ ENCA_NAME_STYLE_ICONV));
}
enca_analyser_free (analyser);
@@ -485,11 +485,11 @@ get_encoding (const char *data, size_t size)
free (langs);
#endif
- if (!encoding_string) {
- encoding_string = g_strdup ("ISO-8859-1");
+ if (!encoding) {
+ encoding = g_strdup ("ISO-8859-1");
}
- return encoding_string;
+ return encoding;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]