Skip to content

Commit

Permalink
Remove commented out "rough draft" code from 46afc80
Browse files Browse the repository at this point in the history
  • Loading branch information
brianferguson committed Mar 22, 2022
1 parent 46afc80 commit 25923cf
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions Library/MeasurePlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,29 +174,6 @@ void MeasurePlugin::ReadOptions(ConfigParser& parser, const WCHAR* section)
++iter->second;
}
}

/*size_t pluginNameSize = pluginFile.size();
if (pluginNameSize > 3 && pluginFile.substr(pluginFile.size() - 4) != L".dll")
{
pluginFile += L".dll";
}
WCHAR plugin[MAX_PATH];
wcsncpy_s(plugin, MAX_PATH, pluginFile.c_str(), pluginFile.size());
auto iter = s_PluginReferences.find(plugin);
if (iter == s_PluginReferences.end())
{
s_PluginReferences.insert(std::make_pair<std::wstring, UINT>(plugin, 1U));
if (GetRainmeter().GetDebug())
{
LogDebugF(this, L"Plugin loaded: &s", plugin);
}
}
else
{
++iter->second;
}*/
}

FARPROC initializeFunc = GetProcAddress(m_Plugin, "Initialize");
Expand Down

0 comments on commit 25923cf

Please sign in to comment.