mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 14:41:36 +08:00
Updated comment
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@781 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
af04ae882f
commit
5e7be7d853
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user