Skip to content

Instantly share code, notes, and snippets.

View Warepire's full-sized avatar

Warepire

  • A little to the left of nowhere
View GitHub Profile
@Warepire
Warepire / remote-mounted-drives.patch
Created July 18, 2017 18:09
Mega-hacky fix to allow remote mounted drives
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.
+ {
From c92084c13fbfe343cf8c97222f78681609e7a694 Mon Sep 17 00:00:00 2001
From: Kenneth Lyons <ixjlyons@gmail.com>
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