Commit d22279b22853b9326006398508caa025dee0a500

Authored by perry.werneck@gmail.com
1 parent 0febb808

Windows - Incluindo save/restore do estado da janela no registry

Showing 2 changed files with 3 additions and 8 deletions   Show diff stats
@@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@
124 #define CSDES LIB3270_ANSI_STATE_CSDES 124 #define CSDES LIB3270_ANSI_STATE_CSDES
125 #define N1 LIB3270_ANSI_STATE_N1 125 #define N1 LIB3270_ANSI_STATE_N1
126 #define DECP LIB3270_ANSI_STATE_DECP 126 #define DECP LIB3270_ANSI_STATE_DECP
127 -#define TEXT LIB3270_ANSI_STATE_TEXT 127 +// #define TEXT LIB3270_ANSI_STATE_TEXT
128 #define TEXT2 LIB3270_ANSI_STATE_TEXT2 128 #define TEXT2 LIB3270_ANSI_STATE_TEXT2
129 #define MBPEND LIB3270_ANSI_STATE_MBPEND 129 #define MBPEND LIB3270_ANSI_STATE_MBPEND
130 130
@@ -1597,14 +1597,14 @@ xterm_text_mode(H3270 *hSession, int ig1 unused, int ig2 unused) @@ -1597,14 +1597,14 @@ xterm_text_mode(H3270 *hSession, int ig1 unused, int ig2 unused)
1597 { 1597 {
1598 nx = 0; 1598 nx = 0;
1599 n[0] = 0; 1599 n[0] = 0;
1600 - return TEXT; 1600 + return LIB3270_ANSI_STATE_TEXT;
1601 } 1601 }
1602 1602
1603 static enum lib3270_ansi_state 1603 static enum lib3270_ansi_state
1604 xterm_text_semicolon(H3270 *hSession, int ig1 unused, int ig2 unused) 1604 xterm_text_semicolon(H3270 *hSession, int ig1 unused, int ig2 unused)
1605 { 1605 {
1606 tx = 0; 1606 tx = 0;
1607 - return TEXT2; 1607 + return LIB3270_ANSI_STATE_TEXT2;
1608 } 1608 }
1609 1609
1610 static enum lib3270_ansi_state 1610 static enum lib3270_ansi_state
@@ -337,11 +337,6 @@ H3270 * lib3270_session_new(const char *model) @@ -337,11 +337,6 @@ H3270 * lib3270_session_new(const char *model)
337 ft_init(hSession); 337 ft_init(hSession);
338 #endif 338 #endif
339 339
340 -/*  
341 -#if defined(X3270_PRINTER)  
342 - printer_init();  
343 -#endif  
344 -*/  
345 trace("%s finished",__FUNCTION__); 340 trace("%s finished",__FUNCTION__);
346 341
347 errno = 0; 342 errno = 0;