bugFreeciv - Bugs: bug #23306, Truncated unit description in...

 
 
Show feedback again

bug #23306: Truncated unit description in "Unit commands" menu

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sun Feb 22 13:23:17 2015  
 
Category: client-sdlSeverity: 2 - Minor
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: GNU/Linux
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun Feb 22 13:23:17 2015, original submission:

Noticed in passing that the "Unit commands" menu you get by clicking a unit in the city dialog had an odd "Un" or "Uni" at the end.

I think unit_description() is trying to say "Unit ID: 1234", but the fixed-size buffer in units_orders_city_dlg_callback() is small (cBuf[80]). It should probably be increased.

Jacob Nevins <jtn>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup