Skip to content

Commit

Permalink
Merge pull request #3 from DannyCork/master
Browse files Browse the repository at this point in the history
Cosmetic changes: mainly copyright and about page url
  • Loading branch information
Discriminator committed Jul 28, 2013
2 parents 7214355 + e98b73c commit e04eb0a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
9 changes: 6 additions & 3 deletions PDW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// PH : Peter Hunt
// RAH: Rutger A. Heunks
// AVE: Andreas Verhoeven
// DD : Danny D.
//
// 06/04/2003 PH: Added Short Instructions
// 07/04/2003 PH: Short Instructions / Frames optional via menu
Expand Down Expand Up @@ -254,7 +255,9 @@
// 24/03/2010 : Version 2.60 released!!
//
// 10/08/2010 : Version 3.0 released!!
//

// 13/7/2013 DD: Updated About. web url.
// 13/7/2013 DD: Version 3.12 released!
//
// FILTERS.INI lines :
//
Expand Down Expand Up @@ -408,7 +411,7 @@ time_t tStarted; // Contains the time when PDW was started
// If copy upper/lower pane or just copy is successful then this flag is set to TRUE.
bool bOK_to_save=false;

char *pdw_version = "PDW v3.11b15"; // Current version info
char *pdw_version = "PDW v3.12"; // Current version info

// RAH: record and playback stuff
OPENFILENAME openplayback;
Expand Down Expand Up @@ -2801,7 +2804,7 @@ BOOL FAR PASCAL AboutDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch (LOWORD(wParam))
{
case IDC_WEBSITE:
ShellExecute(NULL, "open", "http://www.gsm-antennes.nl/PDW", NULL, NULL, SW_SHOWNORMAL);
ShellExecute(NULL, "open", "http://www.discriminator.nl/pdw/index-en.html", NULL, NULL, SW_SHOWNORMAL);

// fall through

Expand Down
1 change: 1 addition & 0 deletions Readme
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PDW - POCSAG, FLEX, ACARS, MOBITEX & ERMES Decoder

Copyright (c) 2001 - 2004 Jason Petty
Copyright (c) 2004 - 2010 Peter Hunt
Open sourced 2013 - GNU GENERAL PUBLIC LICENSE

PDW has been developed with Visual C++ 6.0. You may have to make adaptations to compile it with newer C++ versions.

Expand Down
21 changes: 12 additions & 9 deletions Rsrc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -167,22 +167,24 @@ END
// Dialog
//

ABOUTDLGBOX DIALOG DISCARDABLE 10, 10, 270, 87
ABOUTDLGBOX DIALOG DISCARDABLE 10, 10, 282, 156
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "About..."
FONT 8, "Verdana"
BEGIN
GROUPBOX "",IDC_STATIC,2,0,265,83
LTEXT "PDW version",IDC_VERSION,86,15,72,8
GROUPBOX "",IDC_STATIC,0,0,75,114,NOT WS_VISIBLE
LTEXT "PDW version",IDC_VERSION,81,6,72,8
LTEXT "POCSAG, FLEX, ACARS, MOBITEX && ERMES Decoder",
IDC_STATIC,86,30,175,8
LTEXT "Copyright (c) 2001 - 2004 Jason Petty",IDC_STATIC,86,45,
IDC_STATIC,78,19,175,8
LTEXT "Copyright (c) 2001 - 2004 Jason Petty",IDC_STATIC,79,33,
126,8
LTEXT "2004 - 2010 Peter Hunt",IDC_STATIC,132,55,100,8
LTEXT "2004 - 2010 Peter Hunt",IDC_STATIC,122,45,100,8
LTEXT "Win2k/XP RS232 support by: Herman Withaar",IDC_STATIC,
86,69,152,8
PUSHBUTTON "Visit PDW website",IDC_WEBSITE,7,64,68,15
113,106,152,8
PUSHBUTTON "Visit PDW website",IDC_WEBSITE,121,68,68,15
LTEXT "2013 GNU GENERAL PUBLIC LICENSE",IDC_STATIC,124,57,124,
8
END

CLEARSCREENDLGBOX DIALOG DISCARDABLE 30, 20, 113, 66
Expand Down Expand Up @@ -1112,7 +1114,8 @@ GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
ABOUTDLGBOX, DIALOG
BEGIN
RIGHTMARGIN, 267
RIGHTMARGIN, 265
BOTTOMMARGIN, 114
END

DEBUGDLGBOX, DIALOG
Expand Down
2 changes: 1 addition & 1 deletion ermes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ int ERMES::nOnes(int k)
*/
int ERMES::lOnes(long int k)
{
int kt;
/*int kt;*/
for (int i=0, kt=0; i<32; i++)
{
if ((k & 0x0001l) != 0l) kt++;
Expand Down

0 comments on commit e04eb0a

Please sign in to comment.