diff options
author | David Robillard <d@drobilla.net> | 2009-06-16 19:23:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-16 19:23:24 +0000 |
commit | 573146f927337d29ae7cb874f7b16aa5a3e8d0d4 (patch) | |
tree | d14b0df274b3c8ff5383b4726b75f5def4c667de | |
parent | 440c0070df3e0d5afedcda5b7ea40b728a0501c4 (diff) | |
download | lilv-573146f927337d29ae7cb874f7b16aa5a3e8d0d4.tar.gz lilv-573146f927337d29ae7cb874f7b16aa5a3e8d0d4.tar.bz2 lilv-573146f927337d29ae7cb874f7b16aa5a3e8d0d4.zip |
Fix indentation (tabs).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2117 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/query.c | 1 | ||||
-rw-r--r-- | src/value.c | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/query.c b/src/query.c index 34cb260..2400b86 100644 --- a/src/query.c +++ b/src/query.c @@ -20,7 +20,6 @@ #include <assert.h> #include <librdf.h> #include <limits.h> -#include <locale.h> #include <stdlib.h> #include <string.h> #include "slv2/types.h" diff --git a/src/value.c b/src/value.c index 9c5b202..304e666 100644 --- a/src/value.c +++ b/src/value.c @@ -240,9 +240,9 @@ slv2_value_get_turtle_token(SLV2Value value) result = strdup(value->str_val); break; case SLV2_VALUE_INT: - // INT64_MAX is 9223372036854775807 (19 digits) + 1 for sign - // FIXME: locale kludge, need a locale independent snprintf - locale = strdup(setlocale(LC_NUMERIC, NULL)); + // INT64_MAX is 9223372036854775807 (19 digits) + 1 for sign + // FIXME: locale kludge, need a locale independent snprintf + locale = strdup(setlocale(LC_NUMERIC, NULL)); len = 20; result = calloc(len, sizeof(char)); setlocale(LC_NUMERIC, "POSIX"); @@ -250,8 +250,8 @@ slv2_value_get_turtle_token(SLV2Value value) setlocale(LC_NUMERIC, locale); break; case SLV2_VALUE_FLOAT: - // FIXME: locale kludge, need a locale independent snprintf - locale = strdup(setlocale(LC_NUMERIC, NULL)); + // FIXME: locale kludge, need a locale independent snprintf + locale = strdup(setlocale(LC_NUMERIC, NULL)); len = 20; // FIXME: proper maximum value? result = calloc(len, sizeof(char)); setlocale(LC_NUMERIC, "POSIX"); |