From: ehofman Date: Fri, 15 Oct 2004 11:29:09 +0000 (+0000) Subject: Set the format default to float instead of int. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ca31288e64c5cfed6c237bbddf7dea34c54d18ea;p=flightgear.git Set the format default to float instead of int. --- diff --git a/src/Network/generic.cxx b/src/Network/generic.cxx index a402d456c..043ce2457 100644 --- a/src/Network/generic.cxx +++ b/src/Network/generic.cxx @@ -267,7 +267,7 @@ FGGeneric::read_config(SGPropertyNode *root, vector<_serial_prot> &msg) _serial_prot chunk; // chunk.name = chunks[i]->getStringValue("name"); - chunk.format = chunks[i]->getStringValue("format", "%d"); + chunk.format = chunks[i]->getStringValue("format", "%f"); chunk.offset = chunks[i]->getDoubleValue("offset"); chunk.factor = chunks[i]->getDoubleValue("offset", 1.0);