Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wacumov authored and stweil committed Feb 1, 2019
1 parent b498067 commit 7be0434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/capi.cpp
Expand Up @@ -189,7 +189,7 @@ TESS_API BOOL TESS_CALL TessBaseAPISetVariable(TessBaseAPI* handle, const char*

TESS_API BOOL TESS_CALL TessBaseAPISetDebugVariable(TessBaseAPI* handle, const char* name, const char* value)
{
return handle->SetVariable(name, value) ? TRUE : FALSE;
return handle->SetDebugVariable(name, value) ? TRUE : FALSE;
}

TESS_API BOOL TESS_CALL TessBaseAPIGetIntVariable(const TessBaseAPI* handle, const char* name, int* value)
Expand Down

0 comments on commit 7be0434

Please sign in to comment.