diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-02-28 21:49:21 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 08:07:02 +0200 |
commit | 1338cffc940eb3c3291ee8bea098f79545e969da (patch) | |
tree | 2a111bb99d99d723fb0703976c7dfdf16732126c | |
parent | 2e3fe61d11b606ab5be561e30649984240e90954 (diff) | |
download | nx-libs-1338cffc940eb3c3291ee8bea098f79545e969da.tar.gz nx-libs-1338cffc940eb3c3291ee8bea098f79545e969da.tar.bz2 nx-libs-1338cffc940eb3c3291ee8bea098f79545e969da.zip |
nxcomp/Children.cpp: print a message if the dialog could not be displayed
-rw-r--r-- | nxcomp/src/Children.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nxcomp/src/Children.cpp b/nxcomp/src/Children.cpp index 829c6fbad..2e89f2e68 100644 --- a/nxcomp/src/Children.cpp +++ b/nxcomp/src/Children.cpp @@ -343,6 +343,15 @@ int NXTransDialog(const char *caption, const char *message, } } + #ifdef TEST + *logofs << "NXTransDialog: WARNING! Could not display dialog.\n" + << logofs_flush; + #endif + + #ifdef WARNING + cerr << "Warning" << ": Could not display dialog.\n"; + #endif + // // Hopefully useless. // |