
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c92084c13fbfe343cf8c97222f78681609e7a694 Mon Sep 17 00:00:00 2001 | |
From: Kenneth Lyons <[email protected]> | |
Date: Sat, 9 Apr 2016 12:11:09 -0700 | |
Subject: [PATCH] Add function to get selection position. | |
--- | |
src/vte/vteterminal.h | 4 ++++ | |
src/vtegtk.cc | 24 ++++++++++++++++++++++++ | |
2 files changed, 28 insertions(+) | |
diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index 940ab77..bebc562 100644 | |
--- a/source/application/wintaser.cpp | |
+++ b/source/application/wintaser.cpp | |
@@ -362,7 +362,20 @@ static std::wstring TranslateDeviceName(const std::wstring& filename) | |
size_t name_len = wcslen(name); | |
if (name_len < MAX_PATH) | |
{ | |
- found = (_wcsnicmp(filename.c_str(), name, name_len) == 0); | |
+ if (filename.find(L"\\Device\\Mup") == 0) // HACK! - Symbolic links can't be resolved properly for \\Device\\Mup paths. | |
+ { |