Fix for previous change

This commit is contained in:
RKrom 2013-12-11 21:35:46 +01:00
commit 8e694ab96c

View file

@ -215,7 +215,7 @@ namespace Greenshot.Helpers {
/// <param name="pluginFiles"></param>
/// <param name="path"></param>
private void findPluginsOnPath(List<string> pluginFiles, String path) {
if (Directory.Exists(pafPath)) {
if (Directory.Exists(path)) {
try {
foreach (string pluginFile in Directory.GetFiles(path, "*.gsp", SearchOption.AllDirectories)) {
pluginFiles.Add(pluginFile);