summaryrefslogtreecommitdiff
path: root/erts/emulator/drivers/win32
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@erlang.org>2020-02-20 11:21:28 +0100
committerDan Gudmundsson <dgud@erlang.org>2020-02-25 11:21:05 +0100
commita02ee569f283b761a6003a1dab234a5e290c72d7 (patch)
treef2d16238e64e6a3ab8a811159e9dff91e63cb3ec /erts/emulator/drivers/win32
parent55bc9c8f75d6bfff922d98768e689e721b229e6d (diff)
downloaderlang-a02ee569f283b761a6003a1dab234a5e290c72d7.tar.gz
werl: Improve about box
Add OTP-VERSION info, and change font and copyright notice.
Diffstat (limited to 'erts/emulator/drivers/win32')
-rw-r--r--erts/emulator/drivers/win32/win_con.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/erts/emulator/drivers/win32/win_con.c b/erts/emulator/drivers/win32/win_con.c
index de5701d2f3..bbb3772f85 100644
--- a/erts/emulator/drivers/win32/win_con.c
+++ b/erts/emulator/drivers/win32/win_con.c
@@ -1999,9 +1999,11 @@ DIALOG_PROC_RET CALLBACK AboutDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARA
OffsetRect(&rc, -rc.left, -rc.top);
OffsetRect(&rc, -rcDlg.right, -rcDlg.bottom);
SetWindowPos(hDlg,HWND_TOP,rcOwner.left + (rc.right / 2),
- rcOwner.top + (rc.bottom / 2),0,0,SWP_NOSIZE);
- SetDlgItemText(hDlg, ID_VERSIONSTRING,
- TEXT("Erlang emulator version ") TEXT(ERLANG_VERSION));
+ rcOwner.top + (rc.bottom / 2),0,0,SWP_NOSIZE);
+ SetDlgItemText(hDlg, ID_OTP_VERSIONSTRING,
+ TEXT("OTP version ") TEXT(ERLANG_OTP_VERSION));
+ SetDlgItemText(hDlg, ID_ERTS_VERSIONSTRING,
+ TEXT("Erlang emulator version ") TEXT(ERLANG_VERSION));
return (DIALOG_PROC_RET) TRUE;
case WM_COMMAND:
switch (LOWORD(wParam)) {