Forráskód Böngészése

Remove duplicated code

closes https://github.com/assimp/assimp/issues/3183
Kim Kulling 5 éve
szülő
commit
c82f8c0b8f
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      tools/assimp_view/Display.cpp

+ 1 - 1
tools/assimp_view/Display.cpp

@@ -462,7 +462,7 @@ int CDisplay::AddTextureToDisplayList(unsigned int iType,
     TVINSERTSTRUCT sNew;
     tvi.pszText = chTemp;
     tvi.cchTextMax = (int)strlen(chTemp);
-    tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE | TVIF_HANDLE;
+    tvi.mask = TVIF_TEXT | TVIF_SELECTEDIMAGE | TVIF_IMAGE | TVIF_HANDLE;
     tvi.lParam = (LPARAM)20;
 
     // find out whether this is the default texture or not