Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21649 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Jul 28, 2014
1 parent f429e92 commit 4fd8f64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/MainWindow.cpp
Expand Up @@ -1489,7 +1489,7 @@ void MainWindow::importNgspiceNetlist()
if (fileName.isEmpty())
return;
// create a progress bar
int endtime = 0;
int endtime = 0;
int value = 1;
// show the progress bar and set the message in status bar
mpStatusBar->showMessage(tr("Importing ngspice netlist and converting to Modelica code"));
Expand Down
10 changes: 5 additions & 5 deletions OMEdit/OMEditGUI/OMC/OMCProxy.cpp
Expand Up @@ -2051,15 +2051,15 @@ QString OMCProxy::checkModel(QString className)
return getResult();
}

/*!
Converts a given ngspice netlist to equivalent Modelica code.
Filename is the name of the ngspice netlist. Subcircuit and device model (.lib) files
are to be present in the same directory. The Modelica model is created in the same directory
/*!
Converts a given ngspice netlist to equivalent Modelica code.
Filename is the name of the ngspice netlist. Subcircuit and device model (.lib) files
are to be present in the same directory. The Modelica model is created in the same directory
as that of netlist file. - added by Rakhi
*/
bool OMCProxy::ngspicetoModelica(QString fileName)
{
fileName = fileName.replace('\\', '/');
fileName = fileName.replace('\\', '/');
sendCommand("ngspicetoModelica(\"" + fileName + "\")");
return StringHandler::unparseBool(getResult());
}
Expand Down

0 comments on commit 4fd8f64

Please sign in to comment.