Project

General

Profile

Actions

Bug #1844

open

ruledit/ruleup: bug saving helptext for Counters

Added by Dean Brown 5 days ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Ruledit and ruleup
Target version:
Start date:
12/27/2025
Due date:
% Done:

0%

Estimated time:

Description

Repro -
1 edit sandbox/game.ruleset, add helptext="Helptext for Turn_Owned1" to the Turn_Owned1 Counter
2 run ruledit on the sandbox ruleset and save
3 the resulting game.ruleset in ruledit-tmp is now missing that helptext

Problem is in rulesave.c routine save_game_ruleset() -

      save_strvec(sfile, pcounter->helptext, "%s.helptext", path);

last 2 params are switched/wrong.


Files

1844_S3_3&Main.patch (844 Bytes) 1844_S3_3&Main.patch Dean Brown, 12/27/2025 05:12 AM
1844_S3_2.patch (931 Bytes) 1844_S3_2.patch Dean Brown, 12/27/2025 05:12 AM

Related issues 1 (1 open0 closed)

Blocks Tasks #1845: Release 3.2.3NewMarko Lindqvist12/27/2025

Actions
Actions

Also available in: Atom PDF