From 306248fe6c63b9241e889b889f5a6e4c850991c6 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Thu, 29 Apr 2004 07:58:52 +0000 Subject: [PATCH] Whitespace. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8705 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/insetbibtex.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/insets/insetbibtex.C b/src/insets/insetbibtex.C index e2359daa72..dd21b522cb 100644 --- a/src/insets/insetbibtex.C +++ b/src/insets/insetbibtex.C @@ -101,12 +101,12 @@ string normalize_name(Buffer const & buffer, OutputParams const & runparams, string const fname = MakeAbsPath(name, buffer.filePath()); if (AbsolutePath(name) || !IsFileReadable(fname + ext)) return name; - else if (!runparams.nice) + else if (!runparams.nice) return fname; - else + else return MakeRelPath(fname, buffer.getMasterBuffer()->filePath()); } - + } @@ -154,7 +154,7 @@ int InsetBibtex::latex(Buffer const & buffer, ostream & os, if (!style.empty()) { os << "\\bibliographystyle{" - << os::external_path(normalize_name(buffer, runparams, + << os::external_path(normalize_name(buffer, runparams, style, ".bst")) << "}\n"; i += 1;