directdraw: Fix indention

This commit is contained in:
Sebastian Dröge 2009-07-31 07:16:02 +02:00
parent 567902dc06
commit 43b56d41c5

View file

@ -1425,18 +1425,17 @@ WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
ddrawsink->out_width = LOWORD (lParam);
ddrawsink->out_height = HIWORD (lParam);
GST_OBJECT_UNLOCK (ddrawsink);
GST_DEBUG_OBJECT (ddrawsink, "Window size is %dx%d", LOWORD (wParam), HIWORD (wParam));
GST_DEBUG_OBJECT (ddrawsink, "Window size is %dx%d", LOWORD (wParam),
HIWORD (wParam));
break;
}
case WM_CHAR:
case WM_KEYDOWN:
case WM_KEYUP:{
gunichar2 wcrep[128];
if (GetKeyNameTextW (lParam, wcrep, 128))
{
if (GetKeyNameTextW (lParam, wcrep, 128)) {
gchar *utfrep = g_utf16_to_utf8 (wcrep, 128, NULL, NULL, NULL);
if (utfrep)
{
if (utfrep) {
if (message == WM_CHAR || message == WM_KEYDOWN)
gst_navigation_send_key_event (GST_NAVIGATION (ddrawsink),
"key-press", utfrep);
@ -1494,11 +1493,9 @@ WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
x = LOWORD (lParam);
y = HIWORD (lParam);
if (button == 0)
{
if (button == 0) {
GST_DEBUG_OBJECT (ddrawsink, "Mouse moved to %dx%d", x, y);
}
else
} else
GST_DEBUG_OBJECT (ddrawsink, "Mouse button %d pressed at %dx%d",
button, x, y);