diff options
Diffstat (limited to 'MySpace')
-rw-r--r-- | MySpace/MySpace.rc | 2 | ||||
-rw-r--r-- | MySpace/MySpace_8.vcproj | 4 | ||||
-rw-r--r-- | MySpace/formatting.cpp | 6 | ||||
-rw-r--r-- | MySpace/icon1.ico | bin | 1406 -> 0 bytes | |||
-rw-r--r-- | MySpace/version.h | 2 | ||||
-rw-r--r-- | MySpace/zap.ico | bin | 0 -> 894 bytes |
6 files changed, 9 insertions, 5 deletions
diff --git a/MySpace/MySpace.rc b/MySpace/MySpace.rc index 6cb28e1..ef5592d 100644 --- a/MySpace/MySpace.rc +++ b/MySpace/MySpace.rc @@ -143,7 +143,7 @@ END // Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_MYSPACE ICON "MySpace.ico"
-IDI_ZAPS ICON "icon1.ico"
+IDI_ZAPS ICON "zap.ico"
#endif // English (Australia) resources
/////////////////////////////////////////////////////////////////////////////
diff --git a/MySpace/MySpace_8.vcproj b/MySpace/MySpace_8.vcproj index 40f1065..aabdfea 100644 --- a/MySpace/MySpace_8.vcproj +++ b/MySpace/MySpace_8.vcproj @@ -556,6 +556,10 @@ />
</FileConfiguration>
</File>
+ <File
+ RelativePath=".\zap.ico"
+ >
+ </File>
</Filter>
<File
RelativePath=".\readme.txt"
diff --git a/MySpace/formatting.cpp b/MySpace/formatting.cpp index d6b4055..7bd8325 100644 --- a/MySpace/formatting.cpp +++ b/MySpace/formatting.cpp @@ -81,7 +81,7 @@ char *symbols[25] = {":D", ":E", "X(", ":O", ":p", "}:)", ":)", "X)", ":{", "B|" ":X", "Q)", ":B", ";-)", "B)", ":))", ":G", ":,", ":[", "%)", "-:", "P)", ":|", ":X"};
void encode_smileys(char *buff, int size) {
- char *tmp = new char[size];
+ char *tmp = new char[size + 1];
int in = 0, out = 0;
char sb[128];
@@ -105,8 +105,8 @@ void encode_smileys(char *buff, int size) { }
tmp[out] = 0;
- strncpy(buff, tmp, size);
- delete tmp;
+ strncpy(buff, tmp, out + 1);
+ delete[] tmp;
buff[size - 1] = 0;
}
diff --git a/MySpace/icon1.ico b/MySpace/icon1.ico Binary files differdeleted file mode 100644 index 12de5a7..0000000 --- a/MySpace/icon1.ico +++ /dev/null diff --git a/MySpace/version.h b/MySpace/version.h index e8e2e8e..923c5fb 100644 --- a/MySpace/version.h +++ b/MySpace/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
#define __RELEASE_NUM 5
-#define __BUILD_NUM 12
+#define __BUILD_NUM 14
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
diff --git a/MySpace/zap.ico b/MySpace/zap.ico Binary files differnew file mode 100644 index 0000000..0f6b7ba --- /dev/null +++ b/MySpace/zap.ico |