importer: Cosmetics
This commit is contained in:
@@ -60,7 +60,7 @@ i_cal_error_enum_to_string (ICalErrorEnum ical_error)
|
|||||||
|
|
||||||
static const gchar*
|
static const gchar*
|
||||||
guess_file_encoding (const gchar *contents,
|
guess_file_encoding (const gchar *contents,
|
||||||
gsize length)
|
gsize length)
|
||||||
{
|
{
|
||||||
if (length > 4 && contents[0] == '\xFF' && contents[1] == '\xFE' && contents[2] == '\x00' && contents[3] == '\x00') /* UTF-32LE case */
|
if (length > 4 && contents[0] == '\xFF' && contents[1] == '\xFE' && contents[2] == '\x00' && contents[3] == '\x00') /* UTF-32LE case */
|
||||||
return "UTF-32LE";
|
return "UTF-32LE";
|
||||||
|
|||||||
Reference in New Issue
Block a user