Fix wrong indentation in wxDDE code
No real changes, but this avoids warnings about possibly wrong code from the latest g++ versions. Also add braces around a multiline "if" statement body.
This commit is contained in:
@@ -885,6 +885,7 @@ _DDECallback(WORD wType,
|
|||||||
if (data)
|
if (data)
|
||||||
{
|
{
|
||||||
if (user_size == wxNO_LEN)
|
if (user_size == wxNO_LEN)
|
||||||
|
{
|
||||||
switch (wFmt)
|
switch (wFmt)
|
||||||
{
|
{
|
||||||
case wxIPC_TEXT:
|
case wxIPC_TEXT:
|
||||||
@@ -897,6 +898,7 @@ _DDECallback(WORD wType,
|
|||||||
default:
|
default:
|
||||||
user_size = 0;
|
user_size = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
HDDEDATA handle = DdeCreateDataHandle(DDEIdInst,
|
HDDEDATA handle = DdeCreateDataHandle(DDEIdInst,
|
||||||
(LPBYTE)data,
|
(LPBYTE)data,
|
||||||
|
Reference in New Issue
Block a user