Mercurial > hg > octave-nkf
diff src/sysdep.cc @ 14445:b50654a09ba7
maint: untabify sources
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 09 Mar 2012 16:17:41 -0500 |
parents | eff4a5933e28 |
children | f7afecdd87ef |
line wrap: on
line diff
--- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -124,21 +124,21 @@ mod_info.dwSize = sizeof (mod_info); if (Module32First (h, &mod_info)) - { - do - { - std::string mod_name (mod_info.szModule); + { + do + { + std::string mod_name (mod_info.szModule); - if (mod_name.find ("octinterp") != std::string::npos) - { - bin_dir = mod_info.szExePath; - if (bin_dir[bin_dir.length () - 1] != '\\') - bin_dir.append (1, '\\'); - break; - } - } - while (Module32Next (h, &mod_info)); - } + if (mod_name.find ("octinterp") != std::string::npos) + { + bin_dir = mod_info.szExePath; + if (bin_dir[bin_dir.length () - 1] != '\\') + bin_dir.append (1, '\\'); + break; + } + } + while (Module32Next (h, &mod_info)); + } CloseHandle (h); }