aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Dialog.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-01-02 19:23:20 +0100
committerUlrich Sibiller <uli42@gmx.de>2018-01-07 01:27:07 +0100
commitea1e0bea3c41f5c8ad8fc3e22ecd8f2d44e82685 (patch)
treeb05045a170123c3c4f0ae79940c3187cb6d6250a /nx-X11/programs/Xserver/hw/nxagent/Dialog.h
parent9a6b90c316e6ad2a5180ee9be4b0c9c7139d86b7 (diff)
downloadnx-libs-ea1e0bea3c41f5c8ad8fc3e22ecd8f2d44e82685.tar.gz
nx-libs-ea1e0bea3c41f5c8ad8fc3e22ecd8f2d44e82685.tar.bz2
nx-libs-ea1e0bea3c41f5c8ad8fc3e22ecd8f2d44e82685.zip
Replace hardcoded string lengths by macros
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Dialog.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Dialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Dialog.h b/nx-X11/programs/Xserver/hw/nxagent/Dialog.h
index 133dee242..ffcdf48f2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Dialog.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Dialog.h
@@ -55,9 +55,11 @@ extern int nxagentDisableRandRModeDialogPid;
extern int nxagentEnableDeferModePid;
extern int nxagentDisableDeferModePid;
-extern char nxagentFailedReconnectionMessage[];
+#define NXAGENTFAILEDRECONNECTIONMESSAGELENGTH 256
+extern char nxagentFailedReconnectionMessage[NXAGENTFAILEDRECONNECTIONMESSAGELENGTH];
-extern char nxagentPulldownWindow[];
+#define NXAGENTPULLDOWNWINDOWLENGTH 16
+extern char nxagentPulldownWindow[NXAGENTPULLDOWNWINDOWLENGTH];
extern void nxagentLaunchDialog(DialogType type);
extern void nxagentResetDialog(int pid);