add missing braces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,12 +156,14 @@ void wxDataFormat::PrepareFormats()
|
|||||||
// text/uri-list for file dnd because compatibility is not important
|
// text/uri-list for file dnd because compatibility is not important
|
||||||
// here (with whom?)
|
// here (with whom?)
|
||||||
if (!g_textAtom)
|
if (!g_textAtom)
|
||||||
|
{
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
g_textAtom = gdk_atom_intern( "UTF8_STRING", FALSE );
|
g_textAtom = gdk_atom_intern( "UTF8_STRING", FALSE );
|
||||||
g_altTextAtom = gdk_atom_intern( "STRING", FALSE );
|
g_altTextAtom = gdk_atom_intern( "STRING", FALSE );
|
||||||
#else
|
#else
|
||||||
g_textAtom = gdk_atom_intern( "STRING" /* "text/plain" */, FALSE );
|
g_textAtom = gdk_atom_intern( "STRING" /* "text/plain" */, FALSE );
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
if (!g_pngAtom)
|
if (!g_pngAtom)
|
||||||
g_pngAtom = gdk_atom_intern( "image/png", FALSE );
|
g_pngAtom = gdk_atom_intern( "image/png", FALSE );
|
||||||
if (!g_fileAtom)
|
if (!g_fileAtom)
|
||||||
|
Reference in New Issue
Block a user