Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 27, 2013
1 parent aebf710 commit 3a75f99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doomsday/client/src/def_main.cpp
Expand Up @@ -899,7 +899,7 @@ static void readAllDefinitions()
*/
Def_ReadLumpDefs();

LOG_INFO(String("readAllDefinitions: Done in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
LOG_INFO(String("readAllDefinitions: Completed in %1 seconds.").arg(begunAt.since(), 0, 'g', 2));
}

static animgroup_t const *findAnimGroupForTexture(TextureManifest &manifest)
Expand Down
14 changes: 8 additions & 6 deletions doomsday/client/src/resource/material.cpp
Expand Up @@ -642,12 +642,14 @@ void Material::markValid(bool yes)

String Material::composeDescription() const
{
String str = String("Material \"%1\" [%2]")
.arg(manifest().composeUri().asText())
.arg(de::dintptr(this))
+ " Dimensions:" + (width() == 0 && height() == 0? String("unknown (not yet prepared)")
: String("(%1 x %2)").arg(width()).arg(height()))
+ " Source:" + manifest().sourceDescription();
String str = String("Material \"%1\"").arg(manifest().composeUri().asText());
#ifdef DENG_DEBUG
str += String(" [%2]").arg(de::dintptr(this));
#endif
str += " Dimensions:"
+ (width() == 0 && height() == 0? String("unknown (not yet prepared)")
: dimensions().asText())
+ " Source:" + manifest().sourceDescription();
#ifdef __CLIENT__
str += String(" x%1").arg(variantCount());
#endif
Expand Down

0 comments on commit 3a75f99

Please sign in to comment.