Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

Commit 6a84f1b

Browse files
author
VioletGiraffe
committed
Bugfix for issue #16 (missing "\" between concatenated paths)
1 parent 9e41908 commit 6a84f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPPCheckPlugin/AnalyzerCppcheck.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public override void analyze(List<SourceFile> filesToAnalyze, OutputWindowPane o
5555
{
5656
if (!path.ToLower().Contains("qt"))
5757
{
58-
String includeArgument = @" -I""" + path + @"""";
58+
String includeArgument = @" -I""" + (path.EndsWith("\\") ? path : path+@"\\") + @"""";
5959
cppheckargs = cppheckargs + " " + includeArgument;
6060
}
6161
}

0 commit comments

Comments
 (0)