From da86066e19de2a99c31d2af4890d1aac055a5677 Mon Sep 17 00:00:00 2001 From: Mathieu Laurendeau Date: Mon, 10 Apr 2017 21:46:56 +0200 Subject: [PATCH] Mouse DPI greater than 9999 can't be saved #451 --- shared/configeditor/src/XmlWritter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/configeditor/src/XmlWritter.cpp b/shared/configeditor/src/XmlWritter.cpp index a7ec8ea4..7e5de529 100644 --- a/shared/configeditor/src/XmlWritter.cpp +++ b/shared/configeditor/src/XmlWritter.cpp @@ -269,7 +269,7 @@ void XmlWritter::CreateControllerNodes(xmlNodePtr parent_node) { xmlNodePtr node; char id[2]; - char dpi[5]; + char dpi[16]; int i; for(i=0; i