From cb3a7d3a7502376abc13e1ba7f34158f7c4acb54 Mon Sep 17 00:00:00 2001 From: jsmorley Date: Tue, 15 Feb 2011 17:39:24 +0000 Subject: [PATCH] Fixes and issue with InputText plugin failing if a "config name" has a space in it. --- Library/Rainmeter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index a8be833a..39176733 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -227,7 +227,9 @@ LPCTSTR PluginBridge(LPCTSTR _sCommand, LPCTSTR _sData) CMeterWindow *meterWindow = Rainmeter->GetMeterWindowByINI(sData); if (meterWindow) { - result = meterWindow->GetSkinName(); + result = L"\""; + result += meterWindow->GetSkinName(); + result += L"\""; return result.c_str(); }