UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #5262 Q_vsnprintf: string (...) was truncated (52) - target buffer too small (1)
Go to the next issue (open or closed)
Go to the next open issue
aduke1 (@aduke1) has been working on this issue since January 07, 2014 (14:43)
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Always
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (1)
  • icon_download.png Savegame
    slot3.savx uploaded Jan 06, 2014 by unknown user
Duplicate issues (0)
This issue does not have any duplicates
Description
I've got a plenty of those messages in my logs. The source of some of them I recognised, while others I didn't.
I think that all these messages appear when I play the game with my own language.
First of all, it floods logs when the geoscape map is open in late game. I tried to reproduce it starting new game and I didn't succeded. I will upload savegame that has these messages.

Second, these messages appear when I hover over items in equipment menu and these tooltips are trimmed because length of tooltip is too small. I already explained it in IRC so I just copy-paste from there and format it better.

>At first it's adding the ammo description, then for which weapons this ammo is suitable. So we have only 25 chars left - its (128 - $(length of ammo description)). And there it gets trimmed because tooltip length is 128 and it's not enough to fit in size. There goes first Q_vsnprintf warning. Then it tries to add debug info ( x pos / y pos ) and it doesn't fit the size too. So there goes the second warning.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif