- missing space between sentenses
- fix BeOS build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28387 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <AppFileInfo.h>
|
#include <AppFileInfo.h>
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
@@ -45,6 +46,10 @@
|
|||||||
#include "Utilities.h"
|
#include "Utilities.h"
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef LINE_MAX
|
||||||
|
#define LINE_MAX 2048
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SCROLL_CREDITS_VIEW 'mviv'
|
#define SCROLL_CREDITS_VIEW 'mviv'
|
||||||
#define READ_APP_QUERY_ENT 'raqe'
|
#define READ_APP_QUERY_ENT 'raqe'
|
||||||
|
|
||||||
@@ -367,7 +372,7 @@ AboutView::AboutView(const BRect &rect)
|
|||||||
if (year < 2008)
|
if (year < 2008)
|
||||||
year = 2008;
|
year = 2008;
|
||||||
snprintf(string, sizeof(string),
|
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->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
|
||||||
fCreditsView->Insert(string);
|
fCreditsView->Insert(string);
|
||||||
@@ -1068,6 +1073,7 @@ AboutView::PickRandomHaiku()
|
|||||||
void
|
void
|
||||||
AboutView::_AddCopyrightsFromAttribute()
|
AboutView::_AddCopyrightsFromAttribute()
|
||||||
{
|
{
|
||||||
|
#ifdef __HAIKU__
|
||||||
// open the app executable file
|
// open the app executable file
|
||||||
char appPath[B_PATH_NAME_LENGTH];
|
char appPath[B_PATH_NAME_LENGTH];
|
||||||
int appFD;
|
int appFD;
|
||||||
@@ -1147,6 +1153,7 @@ AboutView::_AddCopyrightsFromAttribute()
|
|||||||
|
|
||||||
// flush current package
|
// flush current package
|
||||||
AddCopyrightEntry(package);
|
AddCopyrightEntry(package);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user