Do not issue warning about long commandlines under NT
This commit is contained in:
parent
8be702a36f
commit
b87806dd99
@ -12,6 +12,9 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
- GoldED+/W32 will not issue warning about too long commandline under
|
||||||
|
NT.
|
||||||
|
|
||||||
+ Added Husky compatible MSGID generation algorithm. The following
|
+ Added Husky compatible MSGID generation algorithm. The following
|
||||||
keywords are added for configuration:
|
keywords are added for configuration:
|
||||||
|
|
||||||
|
@ -32,6 +32,10 @@
|
|||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
#include <gkbdunix.h>
|
#include <gkbdunix.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __WIN32__
|
||||||
|
#include <windows.h>
|
||||||
|
extern OSVERSIONINFO WinVer;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
@ -218,6 +222,9 @@ int ShellToDos(char* command, char* message, int cls, int cursor, int pause) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __UNIX__
|
#ifndef __UNIX__
|
||||||
|
#ifdef __WIN32__
|
||||||
|
if(WinVer.dwPlatformId != VER_PLATFORM_WIN32_NT)
|
||||||
|
#endif
|
||||||
if(strlen(command) > 125) {
|
if(strlen(command) > 125) {
|
||||||
w_info(" Warning: Command line longer than 125 characters! ");
|
w_info(" Warning: Command line longer than 125 characters! ");
|
||||||
waitkeyt(10000);
|
waitkeyt(10000);
|
||||||
|
Reference in New Issue
Block a user