OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad310a5
)
.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Tue, 24 Sep 2019 22:46:01 +0000
(07:46 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Tue, 24 Sep 2019 22:46:01 +0000
(07:46 +0900)
source/src/config.cpp
patch
|
blob
|
history
diff --git
a/source/src/config.cpp
b/source/src/config.cpp
index
70b17ea
..
f34f5f9
100644
(file)
--- a/
source/src/config.cpp
+++ b/
source/src/config.cpp
@@
-495,7
+495,8
@@
void DLL_PREFIX load_config(const _TCHAR *config_path)
_TCHAR name[256];
my_stprintf_s(name, 255, _T("AssignedJoystick%d"), i + 1);
MyGetPrivateProfileString(_T("Qt"), (const _TCHAR *)name, _T(""),
- config.assigned_joystick_name[i], sizeof(config.assigned_joystick_name[i]) - 1, config_path);
+ config.assigned_joystick_name[i], 255, config_path);
+ printf("%d->%s\n", i, config.assigned_joystick_name[i]);
}