Source Code Project Mantis - FSSCP
View Issue Details
0002001FSSCPuser interfacepublic2009-10-01 02:012010-08-26 23:40
ReporterFUBAR-BDHR 
Assigned ToZacam 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.6.11 
Target VersionFixed in Version3.6.12 
Summary0002001: Primary weapon loadouts with text names are displaying the # and characters after
DescriptionIf you are using the default text names (no models or anitmations) for primary weapons and use the # character (for insatnce #weak) the selection will show the #weak.
Additional Information3.6.11 r5615
TagsNo tags attached.
Attached Filesjpg screen1129.jpg (4,681) 2009-10-01 02:01
http://scp.indiegames.us/mantis/file_download.php?file_id=1333&type=bug
jpg

patch M2001_patch_02112010.patch (1,871) 2010-02-11 04:04
http://scp.indiegames.us/mantis/file_download.php?file_id=1420&type=bug

Notes
(0011632)
Zacam   
2010-02-11 04:07   
Proposed working .patch attached.

The concept of using:
char print_name[NAME_LENGTH];
strncpy_s(print_name, [...], NAME_LENGTH);

results in the text not displaying until the icon is clicked on.
Instead:
end_string_at_first_hash_symbol(print_name);

Is added to the code (with concise commentary) and even centered better. Also parses and trims out "#andtotheright" off of $Alt Name: entries as well.
(0011633)
FUBAR-BDHR   
2010-02-11 05:46   
Worked fine for me.
(0011648)
Zacam   
2010-02-11 11:45   
Committed in 5902. Leaving issue open for feedback until 3.6.12 Final and then closing if no issues occur.
(0012332)
Zacam   
2010-08-26 23:40   
Closing as no reported issues or feedback (other than being asked if it can now be closed)

Issue History
2009-10-01 02:01FUBAR-BDHRNew Issue
2009-10-01 02:01FUBAR-BDHRFile Added: screen1129.jpg
2009-11-03 12:14ZacamStatusnew => assigned
2009-11-03 12:14ZacamAssigned To => Zacam
2010-02-11 01:34ZacamStatusassigned => confirmed
2010-02-11 04:04ZacamFile Added: M2001_patch_02112010.patch
2010-02-11 04:07ZacamNote Added: 0011632
2010-02-11 04:07ZacamStatusconfirmed => feedback
2010-02-11 05:46FUBAR-BDHRNote Added: 0011633
2010-02-11 11:45ZacamNote Added: 0011648
2010-08-26 23:40ZacamNote Added: 0012332
2010-08-26 23:40ZacamStatusfeedback => resolved
2010-08-26 23:40ZacamFixed in Version => 3.6.12
2010-08-26 23:40ZacamResolutionopen => fixed