Updated comment

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@781 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
theraysmith@gmail.com 2012-10-22 23:41:15 +00:00
parent af04ae882f
commit 5e7be7d853

View File

@ -23,7 +23,10 @@
#include "mfcpch.h" // Precompiled headers
// Returns the given code_path truncated to the last slash.
// Assuming that code_path is the name of some file in a desired directory,
// returns the given code_path stripped back to the last slash, leaving
// the last slash in place. If there is no slash, returns ./ assuming that
// the input was the name of something in the current directory.
// Useful for getting to the directory of argv[0], but does not search
// any paths.
TESS_API void truncate_path(const char *code_path, STRING* trunc_path) {