From 087173d06f4848f19d186b6902d399ce9b7225e1 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 20 Jan 2018 16:25:13 +0100 Subject: Gadu-Gadu: code cleaning --- protocols/Gadu-Gadu/src/gg_proto.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'protocols/Gadu-Gadu/src/gg_proto.h') diff --git a/protocols/Gadu-Gadu/src/gg_proto.h b/protocols/Gadu-Gadu/src/gg_proto.h index fc6c5de185..f1ffb37947 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.h +++ b/protocols/Gadu-Gadu/src/gg_proto.h @@ -233,7 +233,7 @@ struct GGPROTO : public PROTO HANDLE hConnStopEvent; SOCKET sock; UINT_PTR timer; - struct + struct Modemsg { wchar_t *online; wchar_t *away; @@ -241,7 +241,8 @@ struct GGPROTO : public PROTO wchar_t *freechat; wchar_t *invisible; wchar_t *offline; - } modemsg; + }; + Modemsg modemsg; HGENMENU hMainMenu[7]; HGENMENU hBlockMenuItem, hImageMenuItem, hInstanceMenuItem; @@ -251,14 +252,14 @@ struct GGPROTO : public PROTO HANDLE hPopupNotify, hPopupError; }; -typedef struct +struct GGUSERUTILDLGDATA { int mode; uin_t uin; char *pass; char *email; GGPROTO *gg; -} GGUSERUTILDLGDATA; +}; #ifdef DEBUGMODE -- cgit v1.2.3