SourceForge has been redesigned. Learn more.
Close

Diff of /qucs/qucs/schematic_file.cpp [fd43f7] .. [6db217]  Maximize  Restore

Switch to side-by-side view

--- a/qucs/qucs/schematic_file.cpp
+++ b/qucs/qucs/schematic_file.cpp
@@ -1366,7 +1366,7 @@
       for(pc = DocComps.first(); pc != 0; pc = DocComps.next()) {
         if(pc->Model != "Eqn") {
           s = pc->get_Verilog_Code(NumPorts);
-          if(s.at(0) == '§') {
+          if(s.at(0) == '\x00A7') {  //paragraph symbol
             ErrText->insert(s.mid(1));
           }
           else (*tstream) << s;
@@ -1433,7 +1433,7 @@
       for(pc = DocComps.first(); pc != 0; pc = DocComps.next()) {
         if(pc->Model != "Eqn") {
             s = pc->get_VHDL_Code(NumPorts);
-            if(s.at(0) == '§') {
+            if(s.at(0) == '\x00A7') {  //paragraph symbol
               ErrText->insert(s.mid(1));
           }
           else (*tstream) << s;
@@ -1648,7 +1648,7 @@
       } else {
 	s = pc->get_VHDL_Code(NumPorts);
       }
-      if(s.at(0) == '§') return s;   // return error
+      if(s.at(0) == '\x00A7') return s;   // return error
     }
     stream << s;
   }