From fe40c670a495183df0d8a1b9e4d74d935377f28d Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 7 Feb 2014 15:55:59 +0000 Subject: [PATCH] fixed: "set" should be used instead of "update" --- src/lib/synwinxt/CDataHandlerExtension.cpp | 4 ++-- src/lib/synwinxt/synwinxt.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/synwinxt/CDataHandlerExtension.cpp b/src/lib/synwinxt/CDataHandlerExtension.cpp index a90e241c..0cc90872 100644 --- a/src/lib/synwinxt/CDataHandlerExtension.cpp +++ b/src/lib/synwinxt/CDataHandlerExtension.cpp @@ -21,7 +21,7 @@ extern LONG g_refCount; extern GUID g_CLSID; -extern void updateDraggingFilename(char*); +extern void setDraggingFilename(char*); extern void outputDebugStringF(const char *str, ...); CDataHandlerExtension::CDataHandlerExtension() : @@ -89,7 +89,7 @@ CDataHandlerExtension::Load(__RPC__in LPCOLESTR pszFileName, DWORD dwMode) char selectedFilename[MAX_PATH]; StringCchCopyW(m_selectedFilename, ARRAYSIZE(m_selectedFilename), pszFileName); WideCharToMultiByte(CP_ACP, 0, m_selectedFilename, -1, selectedFilename, MAX_PATH, NULL, NULL); - updateDraggingFilename(selectedFilename); + setDraggingFilename(selectedFilename); outputDebugStringF("synwinxt: < CDataHandlerExtension::Load\n"); return S_OK; diff --git a/src/lib/synwinxt/synwinxt.cpp b/src/lib/synwinxt/synwinxt.cpp index 9d147713..901a0caf 100644 --- a/src/lib/synwinxt/synwinxt.cpp +++ b/src/lib/synwinxt/synwinxt.cpp @@ -282,11 +282,11 @@ unregisterShellExtDataHandler(CHAR* fileType, const CLSID& clsid) } void -updateDraggingFilename(char* filename) +setDraggingFilename(char* filename) { - outputDebugStringF("synwinxt: > updateDraggingFilename, filename=%s\n", filename); + outputDebugStringF("synwinxt: > setDraggingFilename, filename=%s\n", filename); memcpy(g_draggingFilename, filename, MAX_PATH); - outputDebugStringF("synwinxt: < updateDraggingFilename, g_draggingFilename=%s\n", g_draggingFilename); + outputDebugStringF("synwinxt: < setDraggingFilename, g_draggingFilename=%s\n", g_draggingFilename); } void