mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
pgedit: Change some variables from global to local ones
This fixes compiler warnings and a warning from LGTM: Poor global variable name 'pe'. Prefer longer, descriptive names [...] Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
18f7ab751e
commit
685abc91f3
@ -100,15 +100,15 @@ enum ColorationMode {
|
||||
*
|
||||
*/
|
||||
|
||||
ScrollView* image_win;
|
||||
ParamsEditor* pe;
|
||||
bool stillRunning = false;
|
||||
static ScrollView* image_win;
|
||||
static ParamsEditor* pe;
|
||||
static bool stillRunning = false;
|
||||
|
||||
ScrollView* bln_word_window = nullptr; // baseline norm words
|
||||
static ScrollView* bln_word_window = nullptr; // baseline norm words
|
||||
|
||||
CMD_EVENTS mode = CHANGE_DISP_CMD_EVENT; // selected words op
|
||||
static CMD_EVENTS mode = CHANGE_DISP_CMD_EVENT; // selected words op
|
||||
|
||||
bool recog_done = false; // recog_all_words was called
|
||||
static bool recog_done = false; // recog_all_words was called
|
||||
|
||||
// These variables should remain global, since they are only used for the
|
||||
// debug mode (in which only a single Tesseract thread/instance will exist).
|
||||
|
Loading…
Reference in New Issue
Block a user