mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge remote-tracking branch 'devhead/Preview4_0' into tsneo
# Conflicts: # Templates/BaseGame/game/data/ui/guis/loadingGui.gui # Templates/BaseGame/game/data/ui/guis/mainMenu.gui # Templates/BaseGame/game/tools/MainEditor/guis/MainEditorWindow.gui # Templates/BaseGame/game/tools/assetBrowser/guis/assetPreviewButtonsTemplate.gui # Templates/BaseGame/game/tools/forestEditor/brushes.tscript
This commit is contained in:
commit
717c7acca9
2266 changed files with 48780 additions and 26034 deletions
|
|
@ -42,7 +42,7 @@ namespace StringUnit
|
|||
|
||||
buffer[0] = 0;
|
||||
|
||||
U32 sz;
|
||||
dsize_t sz;
|
||||
while(index--)
|
||||
{
|
||||
if(!*string)
|
||||
|
|
@ -71,7 +71,7 @@ namespace StringUnit
|
|||
if( startIndex > endIndex )
|
||||
return "";
|
||||
|
||||
S32 sz;
|
||||
dsize_t sz;
|
||||
S32 index = startIndex;
|
||||
while(index--)
|
||||
{
|
||||
|
|
@ -89,7 +89,7 @@ namespace StringUnit
|
|||
sz = dStrcspn(string, set);
|
||||
string += sz;
|
||||
|
||||
if( i < endIndex )
|
||||
if( i < endIndex && *string )
|
||||
string ++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue