From: Paul Cornett <paulcor@bullseye.com>
Date: Tue, 20 May 2008 05:19:07 +0000 (+0000)
Subject: add missing braces
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/782158c2ff35127b6509ce59af5c99dd4554467c

add missing braces

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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)