diff options
author | NatsuDrag9 | 2018-06-20 10:34:54 +0530 |
---|---|---|
committer | GitHub | 2018-06-20 10:34:54 +0530 |
commit | 176a2daf611cc505896743f30de23bd391abd0bb (patch) | |
tree | 6ec6ce6d346564f79336453e9094e1ce1d3a1994 /ldmicro/confdialog.cpp | |
parent | 8e2c2404515f5620b7dfd4874920a7186a54d4b2 (diff) | |
parent | 430fe4a55793714837bf6b659625ec05ca51eae2 (diff) | |
download | LDMicroGtk-176a2daf611cc505896743f30de23bd391abd0bb.tar.gz LDMicroGtk-176a2daf611cc505896743f30de23bd391abd0bb.tar.bz2 LDMicroGtk-176a2daf611cc505896743f30de23bd391abd0bb.zip |
Merge pull request #20 from NatsuDrag9/GUI_port
Solved Segmenation Fault error and removed unnecessary print statements.
Diffstat (limited to 'ldmicro/confdialog.cpp')
-rw-r--r-- | ldmicro/confdialog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ldmicro/confdialog.cpp b/ldmicro/confdialog.cpp index f650f38..cb61ce7 100644 --- a/ldmicro/confdialog.cpp +++ b/ldmicro/confdialog.cpp @@ -162,7 +162,6 @@ void GetData (GtkWidget* widget, gpointer data){ char* buf; buf = const_cast <char*> (gtk_entry_get_text (GTK_ENTRY (CycleTextbox))); - // cout << sizeof (buf)/sizeof (*buf) << "\n"; Prog.cycleTime = (int)(1000*atof(buf) + 0.5); if(Prog.cycleTime == 0) { Error(_("Zero cycle time not valid; resetting to 10 ms.")); |