Mercurial > hg > octave-nkf
diff libgui/src/m-editor/file-editor-tab.h @ 16568:477bfd5d95f5
use dir, not path, to refer to directory name
* file-editor-tab.h, file-editor-tab.cc
(file_editor_tab::bp_info::dir): Rename from path. Change all uses.
(file_editor_tab::run_file): Rename local variable from path to dir.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 25 Apr 2013 12:27:01 -0400 |
parents | 5fc1ce2947bd |
children | ab1df81adaa0 |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h +++ b/libgui/src/m-editor/file-editor-tab.h @@ -148,13 +148,13 @@ struct bp_info { - bp_info (const QString& f, const QString& p, const QString& fn, int l) - : file (f.toStdString ()), path (p.toStdString ()), + bp_info (const QString& f, const QString& d, const QString& fn, int l) + : file (f.toStdString ()), dir (d.toStdString ()), function_name (fn.toStdString ()), line (l) { } std::string file; - std::string path; + std::string dir; std::string function_name; int line; };