From 29ac46e843652476c015f2e16208bc08677056d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 30 Oct 2008 19:41:43 +0000 Subject: [PATCH] - missing space between sentenses - fix BeOS build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28387 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/aboutsystem/AboutSystem.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/apps/aboutsystem/AboutSystem.cpp b/src/apps/aboutsystem/AboutSystem.cpp index 82c8852011..93a873ac29 100644 --- a/src/apps/aboutsystem/AboutSystem.cpp +++ b/src/apps/aboutsystem/AboutSystem.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -45,6 +46,10 @@ #include "Utilities.h" +#ifndef LINE_MAX +#define LINE_MAX 2048 +#endif + #define SCROLL_CREDITS_VIEW 'mviv' #define READ_APP_QUERY_ENT 'raqe' @@ -367,7 +372,7 @@ AboutView::AboutView(const BRect &rect) if (year < 2008) year = 2008; snprintf(string, sizeof(string), - "Copyright " B_UTF8_COPYRIGHT " 2001-%ld The Haiku project.", year); + "Copyright " B_UTF8_COPYRIGHT " 2001-%ld The Haiku project. ", year); fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey); fCreditsView->Insert(string); @@ -1068,6 +1073,7 @@ AboutView::PickRandomHaiku() void AboutView::_AddCopyrightsFromAttribute() { +#ifdef __HAIKU__ // open the app executable file char appPath[B_PATH_NAME_LENGTH]; int appFD; @@ -1147,6 +1153,7 @@ AboutView::_AddCopyrightsFromAttribute() // flush current package AddCopyrightEntry(package); +#endif }