Author Topic: Detail box bug  (Read 1720 times)

0 Members and 1 Guest are viewing this topic.

Offline Water

  • 210
Detail boxes get flipped depending on text input.
High quality boxes get flipped to low and vice versa.

$detail_box:1 - causes problems, lack of single space
$detail_box: 1 - works fine

Tested on: fs2_open_3_6_9.exe + fs2_open_3_6_10-Xt_0314.exe

PCS2 defaults to no space.

(Not Mantised - no confirmation email so far.)

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Hmmm... on a very, very brief check.. seems like pof data parsing doesn't really handle empty spaces too well.. and assumes a single empty space after the $detail_box:
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Water

  • 210
Hmmm... on a very, very brief check.. seems like pof data parsing doesn't really handle empty spaces too well.. and assumes a single empty space after the $detail_box:
That explains why the high quality box didn't act like a detail box, and only the low one was changing state.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Try this build... with and without empty space(s).
Do not meddle in the affairs of coders for they are soggy and hard to light

  

Offline Water

  • 210
Try this build... with and without empty space(s).
Done -  :yes: the detail boxes worked fine with that.
There are other issues with detail boxes, but need to rule out some stuff first.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
ok... i'll commit that change then to SVN unless i can find some issues with it...
Do not meddle in the affairs of coders for they are soggy and hard to light