From ea202cd93232f5b9d12300cc98818ea086d534d7 Mon Sep 17 00:00:00 2001 From: jdolan Date: Sat, 29 Jun 2013 10:19:52 -0400 Subject: [PATCH] @TTimo -style formatting :> --- plugins/model/cpicosurface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/model/cpicosurface.cpp b/plugins/model/cpicosurface.cpp index 9f5665e3..7aed8c08 100644 --- a/plugins/model/cpicosurface.cpp +++ b/plugins/model/cpicosurface.cpp @@ -37,15 +37,15 @@ CPicoSurface::CPicoSurface( picoSurface_t *pSurface ){ // jdolan: If the shader fails to load, try skin.tga in the model's // directory as a fall-back. This is a hack for malformed models. - if ( m_shader->IsDefault()) { - gchar *dir = g_path_get_dirname(m_pSurface->model->name); - gchar *skin = g_strdup_printf("%s/skin.tga", dir); + if ( m_shader->IsDefault() ) { + gchar *dir = g_path_get_dirname( m_pSurface->model->name ); + gchar *skin = g_strdup_printf( "%s/skin.tga", dir ); m_shader->DecRef(); m_shader = QERApp_Shader_ForName( skin ); - g_free(skin); - g_free(dir); + g_free( skin ); + g_free( dir ); } }