diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-14 14:56:30 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-14 14:56:30 +0000 |
commit | a56fe59ac345e61c04632dc20785e52aefd1c2e9 (patch) | |
tree | ecd1cd7354fb10ba2a4e87b178dd9a37963d1a0a /plugins/Ping/src/common.h | |
parent | a34c99ddc7c283559896a473ef3c48a22226ab24 (diff) |
-Converted Ping to Unicode
-Fixed minor bugs (fixes #526)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/common.h')
-rw-r--r-- | plugins/Ping/src/common.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Ping/src/common.h b/plugins/Ping/src/common.h index f2d7259c65..35792e7ea7 100644 --- a/plugins/Ping/src/common.h +++ b/plugins/Ping/src/common.h @@ -53,7 +53,7 @@ #define DEFAULT_SHOW_POPUP2 false
#define DEFAULT_BLOCK_REPS true
#define DEFAULT_LOGGING_ENABLED false
-#define DEFAULT_LOG_FILENAME "ping_log.txt"
+#define DEFAULT_LOG_FILENAME _T("ping_log.txt")
#define DEFAULT_NO_TEST_ICON true
#define DEFAULT_ATTACH_TO_CLIST false
@@ -63,7 +63,7 @@ typedef struct {
int ping_period, ping_timeout;
bool show_popup, show_popup2, block_reps, logging;
- char log_filename[MAX_PATH];
+ TCHAR log_filename[MAX_PATH];
bool no_test_icon;
int row_height;
int indent;
@@ -90,16 +90,16 @@ typedef LinkedList< HistPair > HistoryList; struct PINGADDRESS {
int cbSize; //size in bytes of this structure
DWORD item_id;
- char pszName[MAX_PINGADDRESS_STRING_LENGTH]; //IP address or domain name
- char pszLabel[MAX_PINGADDRESS_STRING_LENGTH];
+ TCHAR pszName[MAX_PINGADDRESS_STRING_LENGTH]; //IP address or domain name
+ TCHAR pszLabel[MAX_PINGADDRESS_STRING_LENGTH];
bool responding;
int status;
short round_trip_time;
int miss_count;
int port; // -1 for ICMP, non-zero for TCP
char pszProto[MAX_PINGADDRESS_STRING_LENGTH];
- char pszCommand[MAX_PATH];
- char pszParams[MAX_PATH];
+ TCHAR pszCommand[MAX_PATH];
+ TCHAR pszParams[MAX_PATH];
unsigned int get_status; // on success, if status equals this
unsigned int set_status; // set it to this
int index;
|