[glib] win32: fix indentation
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] win32: fix indentation
- Date: Tue, 15 Mar 2016 10:36:18 +0000 (UTC)
commit 622748680c807efcf1eb49bce3f0a9c08ad77484
Author: Marc-André Lureau <marcandre lureau gmail com>
Date: Wed Feb 17 17:52:59 2016 +0100
win32: fix indentation
Signed-off-by: Marc-André Lureau <marcandre lureau gmail com>
https://bugzilla.gnome.org/show_bug.cgi?id=762202
glib/gwin32.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/glib/gwin32.c b/glib/gwin32.c
index 6278964..5846732 100644
--- a/glib/gwin32.c
+++ b/glib/gwin32.c
@@ -202,12 +202,12 @@ g_win32_error_message (gint error)
if (msg != NULL)
{
nchars = wcslen (msg);
-
+
if (nchars >= 2 && msg[nchars-1] == '\n' && msg[nchars-2] == '\r')
- msg[nchars-2] = '\0';
-
+ msg[nchars-2] = '\0';
+
retval = g_utf16_to_utf8 (msg, -1, NULL, NULL, NULL);
-
+
LocalFree (msg);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]