aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-03-17 01:09:52 +0100
committercbdev <cb@cbcdn.com>2020-03-17 01:09:52 +0100
commit636a9592eab1963c2b1a77bd59eaff317fa55b75 (patch)
tree2ae5844e2f8bbb4e9554157e65ddad93de867896 /midimonster.c
parent846a49199ba011a00e4814bacac524a6fe9b299a (diff)
downloadmidimonster-636a9592eab1963c2b1a77bd59eaff317fa55b75.tar.gz
midimonster-636a9592eab1963c2b1a77bd59eaff317fa55b75.tar.bz2
midimonster-636a9592eab1963c2b1a77bd59eaff317fa55b75.zip
Fix registry apply bug, fix openpixelcontrol broadcast
Diffstat (limited to 'midimonster.c')
-rw-r--r--midimonster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midimonster.c b/midimonster.c
index afb6a2b..1691671 100644
--- a/midimonster.c
+++ b/midimonster.c
@@ -409,7 +409,7 @@ static int core_loop(){
#ifndef _WIN32
fprintf(stderr, "select failed: %s\n", strerror(errno));
#else
- FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
+ FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, WSAGetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &error_message, 0, NULL);
fprintf(stderr, "select failed: %s\n", error_message);
LocalFree(error_message);