nemiver r699 - in trunk: . src/persp/dbgperspective



Author: dodji
Date: Thu Jan 17 22:08:08 2008
New Revision: 699
URL: http://svn.gnome.org/viewvc/nemiver?rev=699&view=rev

Log:
[variables utils] fix variable name caption display


Modified:
   trunk/ChangeLog
   trunk/src/persp/dbgperspective/nmv-variables-utils2.cc

Modified: trunk/src/persp/dbgperspective/nmv-variables-utils2.cc
==============================================================================
--- trunk/src/persp/dbgperspective/nmv-variables-utils2.cc	(original)
+++ trunk/src/persp/dbgperspective/nmv-variables-utils2.cc	Thu Jan 17 22:08:08 2008
@@ -123,6 +123,7 @@
 
     (*a_iter)[get_variable_columns ().variable] = a_var;
     UString var_name = a_var->name_caption ();
+    if (var_name.empty ()) {var_name = a_var->name ();}
     var_name.chomp ();
     UString prev_var_name =
             (Glib::ustring)(*a_iter)[get_variable_columns ().name];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]