]> git.saurik.com Git - wxWidgets.git/commitdiff
add missing braces
authorPaul Cornett <paulcor@bullseye.com>
Tue, 20 May 2008 05:19:07 +0000 (05:19 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 20 May 2008 05:19:07 +0000 (05:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataobj.cpp

index 0791e6e092feaecc0415e31b37dc3ded3c0b05e2..d0a49bf29a5740e957d0562353b05c3e951cf223 100644 (file)
@@ -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)