Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2011, 2:35:18 PM (13 years ago)
Author:
dafrick
Message:

Only escape [] in CEGUI tetx of version is ≥ 0.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/gui/scripts/NotificationLayer.lua

    r8703 r8704  
    6262    end
    6363
    64     notification = string.gsub(notification, "%[", "\\%[") -- escape '[' which is used to format text since cegui 0.7
     64    if not guiMgr:usingOldCEGUI() then
     65        notification = string.gsub(notification, "%[", "\\%[") -- escape '[' which is used to format text since cegui 0.7
     66    end
    6567
    6668    local item = winMgr:createWindow("MenuWidgets/StaticText", "orxonox/NotificationLayer/Root/Queue/" .. queueName .. "/" .. queue.last)
Note: See TracChangeset for help on using the changeset viewer.