From 782158c2ff35127b6509ce59af5c99dd4554467c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 20 May 2008 05:19:07 +0000 Subject: [PATCH] add missing braces git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataobj.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gtk/dataobj.cpp b/src/gtk/dataobj.cpp index 0791e6e092..d0a49bf29a 100644 --- a/src/gtk/dataobj.cpp +++ b/src/gtk/dataobj.cpp @@ -149,12 +149,14 @@ void wxDataFormat::PrepareFormats() // text/uri-list for file dnd because compatibility is not important // here (with whom?) if (!g_textAtom) + { #if wxUSE_UNICODE g_textAtom = gdk_atom_intern( "UTF8_STRING", FALSE ); g_altTextAtom = gdk_atom_intern( "STRING", FALSE ); #else g_textAtom = gdk_atom_intern( "STRING" /* "text/plain" */, FALSE ); #endif + } if (!g_pngAtom) g_pngAtom = gdk_atom_intern( "image/png", FALSE ); if (!g_fileAtom) -- 2.45.2