SOURCES: linux_logo-quote_logo_backslashes.patch - updated for 5.02
qboosh
qboosh at pld-linux.org
Sun Aug 12 19:04:20 CEST 2007
Author: qboosh Date: Sun Aug 12 17:04:20 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 5.02
---- Files affected:
SOURCES:
linux_logo-quote_logo_backslashes.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/linux_logo-quote_logo_backslashes.patch
diff -u SOURCES/linux_logo-quote_logo_backslashes.patch:1.3 SOURCES/linux_logo-quote_logo_backslashes.patch:1.4
--- SOURCES/linux_logo-quote_logo_backslashes.patch:1.3 Wed Jul 11 22:26:36 2007
+++ SOURCES/linux_logo-quote_logo_backslashes.patch Sun Aug 12 19:04:14 2007
@@ -8,8 +8,8 @@
int center_sysinfo;
char *user_text;
char *format;
---- linux_logo-5.01/linux_logo.c.orig 2007-07-09 18:34:18.000000000 +0200
-+++ linux_logo-5.01/linux_logo.c 2007-07-11 21:56:07.894370157 +0200
+--- linux_logo-5.02/linux_logo.c.orig 2007-07-31 17:25:16.000000000 +0200
++++ linux_logo-5.02/linux_logo.c 2007-08-12 18:39:15.984510248 +0200
@@ -102,6 +102,7 @@
settings->display_sysinfo_only=0;
settings->display_usertext=0;
@@ -18,7 +18,7 @@
settings->center_sysinfo=1;
settings->user_text[0]=0;
settings->format[0]=0;
-@@ -125,11 +126,13 @@
+@@ -125,13 +126,15 @@
}
/* Prints a string, but stops at a newline or end of string */
@@ -26,6 +26,8 @@
+static char *print_line(char *string, struct linux_logo_info_type *settings) {
char *temp_st=string;
+
+ if (temp_st==NULL) return NULL;
while ((*temp_st!='\n') && (*temp_st!='\0')) {
+ if('\\' == *temp_st && settings->quote_logo_backslashes)
@@ -33,7 +35,7 @@
putchar(*temp_st);
temp_st++;
}
-@@ -516,7 +519,7 @@
+@@ -518,7 +521,7 @@
if (settings->banner_mode) { /* Banner mode */
for(i=0;i<ysize;i++) {
shift_right((settings->width-80)/2,settings->plain_ascii);
@@ -42,7 +44,7 @@
printf("\n");
}
if (!settings->display_logo_only) printf("\n");
-@@ -533,14 +536,14 @@
+@@ -535,14 +538,14 @@
for(i=0;i<7;i++) {
shift_right(settings->offset,settings->plain_ascii);
@@ -59,7 +61,7 @@
shift_right(2,settings->plain_ascii);
if (i-7<sysinfo_length) {
if (!settings->plain_ascii) printf("\033[1;37;40m");
-@@ -862,6 +865,8 @@
+@@ -864,6 +867,8 @@
break;
case 'p': settings->preserve_xy=1;
break;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux_logo-quote_logo_backslashes.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list