Browse Source

oops, no newline

David Rose 23 năm trước cách đây
mục cha
commit
67cce38a1b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      panda/src/pgraph/findApproxPath.cxx

+ 2 - 2
panda/src/pgraph/findApproxPath.cxx

@@ -223,7 +223,7 @@ add_component(string str_component) {
 
     if (handle == TypeHandle::none()) {
       pgraph_cat.error()
-        << "Invalid type name: " + type_name;
+        << "Invalid type name: " << type_name << "\n";
       return false;
 
     } else {
@@ -242,7 +242,7 @@ add_component(string str_component) {
 
     if (handle == TypeHandle::none()) {
       pgraph_cat.error()
-        << "Invalid type name: " + type_name;
+        << "Invalid type name: " << type_name << "\n";
       return false;
 
     } else {