X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2Ff_mapoptimization.pas;h=efeac7d6dab3c7668fe0d5fd06613cf08495f87c;hp=e7aad24b53f9c31dd9a4d1f5b54eeea616eae1ee;hb=6fb9c23afad22a71679525dc44ea32675d73609f;hpb=6bd345e89b3193c3249c53e6807a542a063461ce diff --git a/src/editor/f_mapoptimization.pas b/src/editor/f_mapoptimization.pas index e7aad24..efeac7d 100644 --- a/src/editor/f_mapoptimization.pas +++ b/src/editor/f_mapoptimization.pas @@ -105,7 +105,7 @@ begin for i := 0 to High(gPanels) do if (gPanels[i].PanelType <> 0) and - (gPanels[i].TextureName = utf2win(MainForm.lbTextureList.Items[a])) then + (gPanels[i].TextureName = MainForm.lbTextureList.Items[a]) then begin ok := False; Break; @@ -114,7 +114,7 @@ begin // Нашли неиспользуемую текстуру: if ok then begin - g_DeleteTexture(utf2win(MainForm.lbTextureList.Items[a])); + g_DeleteTexture(MainForm.lbTextureList.Items[a]); if not b then begin mOptimizationResult.Lines.Add(_lc[I_OPT_DELETED_TEXTURES]);