[Lldb-commits] [lldb] r228762 - Fix a couple typos in the previous commit

Enrico Granata egranata at apple.com
Tue Feb 10 15:17:07 PST 2015


Author: enrico
Date: Tue Feb 10 17:17:07 2015
New Revision: 228762

URL: http://llvm.org/viewvc/llvm-project?rev=228762&view=rev
Log:
Fix a couple typos in the previous commit

Modified:
    lldb/trunk/source/DataFormatters/CoreMedia.cpp
    lldb/trunk/source/DataFormatters/FormatManager.cpp

Modified: lldb/trunk/source/DataFormatters/CoreMedia.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/CoreMedia.cpp?rev=228762&r1=228761&r2=228762&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/CoreMedia.cpp (original)
+++ lldb/trunk/source/DataFormatters/CoreMedia.cpp Tue Feb 10 17:17:07 2015
@@ -79,7 +79,7 @@ lldb_private::formatters::CMTimeSummaryP
             stream.Printf("%" PRId64 " third%sof a second", value, value == 1 ? " " : "s ");
             return true;
         default:
-            stream.Printf("%" PRId64 " %" PRId32 " of a second", value, timescale);
+            stream.Printf("%" PRId64 " %" PRId32 "th%sof a second", value, timescale, value == 1 ? " " : "s ");
             return true;
     }
 }

Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=228762&r1=228761&r2=228762&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatManager.cpp Tue Feb 10 17:17:07 2015
@@ -885,6 +885,7 @@ FormatManager::FormatManager() :
     EnableCategory(m_appkit_category_name,TypeCategoryMap::Last);
     EnableCategory(m_coreservices_category_name,TypeCategoryMap::Last);
     EnableCategory(m_coregraphics_category_name,TypeCategoryMap::Last);
+    EnableCategory(m_coremedia_category_name,TypeCategoryMap::Last);
     EnableCategory(m_gnu_cpp_category_name,TypeCategoryMap::Last);
     EnableCategory(m_libcxx_category_name,TypeCategoryMap::Last);
     EnableCategory(m_vectortypes_category_name,TypeCategoryMap::Last);





More information about the lldb-commits mailing list