From 2adab1b824d6e8ec060e7166ab4c5e35c39e1941 Mon Sep 17 00:00:00 2001 From: ps Date: Mon, 17 Jan 2011 20:45:01 +0000 Subject: [PATCH] fix typo --- src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.cpp b/src/Utils.cpp index 783a2bb..7c7cac4 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -367,7 +367,7 @@ string Utils::get_canonical_filename(string file) { char buffer[MAX_PATH]; - GetFullPathName(file.c_str(),sizeof(path),path,NULL); + GetFullPathName(file.c_str(),sizeof(buffer),buffer,NULL); return string(buffer); }