diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-12-14 10:32:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-12-14 10:32:48 (GMT) |
commit | 186e3e8cb9e65605a3787fa3f3febe7a37a580bd (patch) | |
tree | 1a64fb1485f2681af440b59c52690098d26e293a /win/tkWinClipboard.c | |
parent | f59dbeeff6ce7a7d39febca41fd2a363e3bc00ac (diff) | |
download | tk-186e3e8cb9e65605a3787fa3f3febe7a37a580bd.zip tk-186e3e8cb9e65605a3787fa3f3febe7a37a580bd.tar.gz tk-186e3e8cb9e65605a3787fa3f3febe7a37a580bd.tar.bz2 |
minor formatting
Diffstat (limited to 'win/tkWinClipboard.c')
-rwxr-xr-x | win/tkWinClipboard.c | 7 |
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++; } } |