From d59aab9f81a82258e65721a9b48c4978d0d381c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 May 2015 20:19:47 +0000 Subject: fix for another Watrack option pages git-svn-id: http://svn.miranda-ng.org/main/trunk@13433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/lastfm/lastfm.pas | 4 +++- plugins/Watrack/lastfm/lastfm.rc | 5 +++-- plugins/Watrack/lastfm/lastfm.res | Bin 2288 -> 2276 bytes 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/Watrack/lastfm') diff --git a/plugins/Watrack/lastfm/lastfm.pas b/plugins/Watrack/lastfm/lastfm.pas index 0d47afebb4..c5ccd796cc 100644 --- a/plugins/Watrack/lastfm/lastfm.pas +++ b/plugins/Watrack/lastfm/lastfm.pas @@ -9,6 +9,8 @@ uses windows, messages, commctrl, m_api,dbsettings,wrapper,mirutils, datetime, wat_api,global; +{$include resource.inc} + const opt_ModStatus:PAnsiChar = 'module/lastfm'; const @@ -217,7 +219,7 @@ end; function AddOptionsPage(var tmpl:pAnsiChar;var proc:pointer;var name:PAnsiChar):integer; begin - tmpl:='LASTFM'; + tmpl:=PAnsiChar(IDD_OPT_LASTFM); proc:=@DlgProcOptions; name:='LastFM'; result:=0; diff --git a/plugins/Watrack/lastfm/lastfm.rc b/plugins/Watrack/lastfm/lastfm.rc index 320eebe8cc..0b92e214b2 100644 --- a/plugins/Watrack/lastfm/lastfm.rc +++ b/plugins/Watrack/lastfm/lastfm.rc @@ -1,9 +1,10 @@ #include "i_const.inc" +#include "resource.inc" LANGUAGE 0,0 -LASTFM DIALOGEX 0, 0, 304, 226, 0 -STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE +IDD_OPT_LASTFM DIALOGEX 0, 0, 304, 226, 0 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0 { diff --git a/plugins/Watrack/lastfm/lastfm.res b/plugins/Watrack/lastfm/lastfm.res index 376d6b6088..14d7fc9763 100644 Binary files a/plugins/Watrack/lastfm/lastfm.res and b/plugins/Watrack/lastfm/lastfm.res differ -- cgit v1.2.3