From f7072312248906de708e457fb3d1e30759730915 Mon Sep 17 00:00:00 2001 From: abramcumner Date: Fri, 19 Aug 2016 00:20:49 +0300 Subject: [PATCH] fix waypoint name(CoP) --- sources/xray_re/xr_scene_ways.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/xray_re/xr_scene_ways.cxx b/sources/xray_re/xr_scene_ways.cxx index 6136e391..a23beb4f 100644 --- a/sources/xray_re/xr_scene_ways.cxx +++ b/sources/xray_re/xr_scene_ways.cxx @@ -77,7 +77,7 @@ struct write_point_ini { void operator()(const way_point_le& point, xr_ini_write n = xr_snprintf(buf, sizeof(buffer), "wp_%d_name", id); if (n > 0) - w->write(buf, point.name); + w->write(buf, point.name, false); n = xr_snprintf(buf, sizeof(buffer), "wp_%d_pos", id); if (n > 0) @@ -85,7 +85,7 @@ struct write_point_ini { void operator()(const way_point_le& point, xr_ini_write n = sprintf_s(buf, sizeof(buffer), "wp_%d_selected", id); if (n > 0) - w->write(buf, "off"); + w->write(buf, "off", false); }}; void xr_way_object::save_v12(xr_ini_writer* w) const