Skip to content

Commit

Permalink
Misc improvements
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@132 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
theraysmith committed Feb 1, 2008
1 parent 830a2f5 commit aa55810
Show file tree
Hide file tree
Showing 17 changed files with 1,172 additions and 240 deletions.
2 changes: 1 addition & 1 deletion ccutil/mainblk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ EXTERN DLLSYM STRING imagebasename;
EXTERN BOOL_VAR (m_print_variables, FALSE,
"Print initial values of all variables");
EXTERN STRING_VAR (m_data_sub_dir, "tessdata/", "Directory for data files");
EXTERN INT_VAR (memgrab_size, 13000000, "Preallocation size for batch use");
EXTERN INT_VAR (memgrab_size, 0, "Preallocation size for batch use");
const ERRCODE NO_PATH =
"Warning:explicit path for executable will not be used for configs";
static const ERRCODE USAGE = "Usage";
Expand Down
10 changes: 8 additions & 2 deletions ccutil/ndminx.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
#ifndef NDMINX_H
#define NDMINX_H

#define MAX(a,b) ( (a>b) ? a : b )
#define MIN(a,b) ( (a<b) ? a : b )
#ifndef MAX
#define MAX(a,b) ( (a>b) ? a : b )
#endif

#ifndef MIN
#define MIN(a,b) ( (a<b) ? a : b )
#endif

#endif
Loading

0 comments on commit aa55810

Please sign in to comment.