summaryrefslogtreecommitdiffstats
path: root/win/tkWinClipboard.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-12-14 10:32:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-12-14 10:32:48 (GMT)
commit11483b44ac56938fe3548e59216eca6886180a0b (patch)
tree1a64fb1485f2681af440b59c52690098d26e293a /win/tkWinClipboard.c
parentf98486f81600c792bfb248f8f8eb87058f2d1040 (diff)
downloadtk-11483b44ac56938fe3548e59216eca6886180a0b.zip
tk-11483b44ac56938fe3548e59216eca6886180a0b.tar.gz
tk-11483b44ac56938fe3548e59216eca6886180a0b.tar.bz2
minor formattingbug_9fcc519a7c
Diffstat (limited to 'win/tkWinClipboard.c')
-rwxr-xr-xwin/tkWinClipboard.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/win/tkWinClipboard.c b/win/tkWinClipboard.c
index a616af5..200883f 100755
--- a/win/tkWinClipboard.c
+++ b/win/tkWinClipboard.c
@@ -135,7 +135,7 @@ TkSelGetSelection(
}
} else if (IsClipboardFormatAvailable(CF_HDROP)) {
DROPFILES *drop;
-
+
handle = GetClipboardData(CF_HDROP);
if (!handle) {
CloseClipboard();
@@ -147,7 +147,7 @@ TkSelGetSelection(
WCHAR *fname = (WCHAR *) ((char *) drop + drop->pFiles);
Tcl_DString dsTmp;
int count = 0, len;
-
+
while (*fname != 0) {
if (count) {
Tcl_DStringAppend(&ds, "\n", 1);
@@ -179,7 +179,8 @@ TkSelGetSelection(
data++;
} else if (noBackslash && data[0] == '\\') {
data++;
- *destPtr++ = '/'; } else {
+ *destPtr++ = '/';
+ } else {
*destPtr++ = *data++;
}
}