summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/options.cpp')
-rw-r--r--protocols/Xfire/src/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp
index c108822805..e57aee4848 100644
--- a/protocols/Xfire/src/options.cpp
+++ b/protocols/Xfire/src/options.cpp
@@ -578,7 +578,7 @@ static INT_PTR CALLBACK DlgProcOpts4(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
//addgamedia auf 0 setzen
TranslateDialogDefault(hwndDlg);
- strcpy(inipath, XFireGetFoldersPath("IniFile"));
+ mir_strcpy(inipath, XFireGetFoldersPath("IniFile"));
strcat(inipath, "xfire_games.ini");
FILE * f = fopen(inipath, "r");
@@ -594,7 +594,7 @@ static INT_PTR CALLBACK DlgProcOpts4(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
inifound = FALSE;
}
- strcpy(inipath, XFireGetFoldersPath("IconsFile"));
+ mir_strcpy(inipath, XFireGetFoldersPath("IconsFile"));
strcat(inipath, "icons.dll");
f = fopen(inipath, "r");
@@ -618,7 +618,7 @@ static INT_PTR CALLBACK DlgProcOpts4(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
SendDlgItemMessage(hwndDlg, IDC_REMUSER, BM_SETIMAGE, IMAGE_ICON, (WPARAM)LoadSkinnedIcon(SKINICON_OTHER_DELETE));
- strcpy(inipath, XFireGetFoldersPath("IniFile"));
+ mir_strcpy(inipath, XFireGetFoldersPath("IniFile"));
SetDlgItemTextA(hwndDlg, IDC_FILESSHOULDBE, inipath);
EnableDlgItem(hwndDlg, IDC_REMUSER, FALSE);
@@ -897,7 +897,7 @@ static INT_PTR CALLBACK DlgProcOpts6(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
EmptyClipboard();
clipbuffer = GlobalAlloc(GMEM_DDESHARE, mir_strlen(out)+1);
buffer = (char*)GlobalLock(clipbuffer);
- strcpy(buffer, LPCSTR(out));
+ mir_strcpy(buffer, LPCSTR(out));
GlobalUnlock(clipbuffer);
SetClipboardData(CF_TEXT, clipbuffer);