Skip to content

Commit 7be0434

Browse files
wacumovstweil
authored andcommitted
Fix typo
1 parent b498067 commit 7be0434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/capi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ TESS_API BOOL TESS_CALL TessBaseAPISetVariable(TessBaseAPI* handle, const char*
189189

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

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

0 commit comments

Comments
 (0)