summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-08 22:52:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-08 22:53:04 +0300
commit804a84ec04c938265e80da311106a7f83c4990cb (patch)
treecf0c76e862ff6cc35b4ac29ad7b29b4f84f5403b /plugins/Scriver
parent913494a40a3284c632ea55f0d0bff3de57e547f9 (diff)
unneeded type declaration removed
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgoptions.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp
index 4e53f70ad9..b1c4ff16df 100644
--- a/plugins/Scriver/src/msgoptions.cpp
+++ b/plugins/Scriver/src/msgoptions.cpp
@@ -30,7 +30,7 @@ INT_PTR CALLBACK DlgProcOptionsPopup(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPA
#define FONTF_BOLD 1
#define FONTF_ITALIC 2
-typedef struct FontOptionsListStruct
+struct
{
const wchar_t *szDescr;
COLORREF defColour;
@@ -38,9 +38,9 @@ typedef struct FontOptionsListStruct
BYTE defStyle;
char defSize;
const wchar_t *szBkgName;
-} FontOptionsList;
-
-static const FontOptionsList fontOptionsList[] = {
+}
+static const fontOptionsList[] =
+{
{ LPGENW("Outgoing messages"), RGB(106, 106, 106), L"Arial", 0, -12, LPGENW("Outgoing background")},
{ LPGENW("Incoming messages"), RGB(0, 0, 0), L"Arial", 0, -12, LPGENW("Incoming background")},
{ LPGENW("Outgoing name"), RGB(89, 89, 89), L"Arial", FONTF_BOLD, -12, LPGENW("Outgoing background")},
@@ -66,7 +66,8 @@ struct
COLORREF defColour;
int systemColor;
}
-static const colourOptionsList[] = {
+static const colourOptionsList[] =
+{
{ LPGENW("Background"), SRMSGSET_BKGCOLOUR, 0, COLOR_WINDOW},
{ LPGENW("Input area background"), SRMSGSET_INPUTBKGCOLOUR, 0, COLOR_WINDOW},
{ LPGENW("Incoming background"), SRMSGSET_INCOMINGBKGCOLOUR, 0, COLOR_WINDOW},