Discussion:
[libdvdcss-devel] [PATCH] dvd_region: Drop some unnecessary end-of-line continuation backslashes
Diego Biurrun
2014-11-14 14:51:00 UTC
Permalink
---
test/dvd_region.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/dvd_region.c b/test/dvd_region.c
index 72cc16e..e7c4473 100644
--- a/test/dvd_region.c
+++ b/test/dvd_region.c
@@ -137,7 +137,7 @@ static int set_region(int fd, int region)
printf("Invalid region( %d)\n", region);
return 1;
}
- printf("Setting drive region can only be done a finite " \
+ printf("Setting drive region can only be done a finite "
"number of times, press Ctrl-C now to cancel!\n");
/* Discard returned character, just wait for any key as confirmation. */
(void) getchar();
@@ -174,11 +174,11 @@ static int print_region(int fd)
printf("Drive region is set\n");
break;
case 2:
- printf("Drive region is set, with additional " \
+ printf("Drive region is set, with additional "
"restrictions required to make a change\n");
break;
case 3:
- printf("Drive region has been set permanently, but " \
+ printf("Drive region has been set permanently, but "
"may be reset by the vendor if necessary\n");
break;
default:
@@ -202,12 +202,12 @@ static int print_region(int fd)
printf("RPC Scheme: ");
switch( rpc_scheme ) {
case 0:
- printf("The Logical Unit does not enforce Regional " \
+ printf("The Logical Unit does not enforce Regional "
"Playback Control (RPC).\n");
break;
case 1:
printf("The Logical Unit _shall_ adhere to the "
- "specification and all requirements of the " \
+ "specification and all requirements of the "
"Content Scrambling System (CSS) license "
"agreement concerning RPC.\n");
break;
--
2.1.0
Jean-Baptiste Kempf
2014-11-14 14:54:21 UTC
Permalink
Breaks MSVC, IIRC.
Post by Diego Biurrun
---
test/dvd_region.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/dvd_region.c b/test/dvd_region.c
index 72cc16e..e7c4473 100644
--- a/test/dvd_region.c
+++ b/test/dvd_region.c
@@ -137,7 +137,7 @@ static int set_region(int fd, int region)
printf("Invalid region( %d)\n", region);
return 1;
}
- printf("Setting drive region can only be done a finite " \
+ printf("Setting drive region can only be done a finite "
"number of times, press Ctrl-C now to cancel!\n");
/* Discard returned character, just wait for any key as confirmation. */
(void) getchar();
@@ -174,11 +174,11 @@ static int print_region(int fd)
printf("Drive region is set\n");
break;
- printf("Drive region is set, with additional " \
+ printf("Drive region is set, with additional "
"restrictions required to make a change\n");
break;
- printf("Drive region has been set permanently, but " \
+ printf("Drive region has been set permanently, but "
"may be reset by the vendor if necessary\n");
break;
@@ -202,12 +202,12 @@ static int print_region(int fd)
printf("RPC Scheme: ");
switch( rpc_scheme ) {
- printf("The Logical Unit does not enforce Regional " \
+ printf("The Logical Unit does not enforce Regional "
"Playback Control (RPC).\n");
break;
printf("The Logical Unit _shall_ adhere to the "
- "specification and all requirements of the " \
+ "specification and all requirements of the "
"Content Scrambling System (CSS) license "
"agreement concerning RPC.\n");
break;
--
2.1.0
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
--
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
Diego Biurrun
2014-11-14 15:17:30 UTC
Permalink
Post by Jean-Baptiste Kempf
Breaks MSVC, IIRC.
Not here...

Diego
Diego Biurrun
2014-11-14 15:45:58 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Fri Nov 14 10:41:42 2014 +0100| [cba944bcb9ddec37b14c1ba6a301cce95575c8d5] | committer: Diego Biurrun

dvd_region: Drop some unnecessary end-of-line continuation backslashes
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=cba944bcb9ddec37b14c1ba6a301cce95575c8d5
---

test/dvd_region.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/dvd_region.c b/test/dvd_region.c
index f981be9..a596fe7 100644
--- a/test/dvd_region.c
+++ b/test/dvd_region.c
@@ -140,7 +140,7 @@ static int set_region(int fd, int region)
printf("Invalid region( %d)\n", region);
return 1;
}
- printf("Setting drive region can only be done a finite " \
+ printf("Setting drive region can only be done a finite "
"number of times, press Ctrl-C now to cancel!\n");
/* Discard returned character, just wait for any key as confirmation. */
(void) getchar();
@@ -177,11 +177,11 @@ static int print_region(int fd)
printf("Drive region is set\n");
break;
case 2:
- printf("Drive region is set, with additional " \
+ printf("Drive region is set, with additional "
"restrictions required to make a change\n");
break;
case 3:
- printf("Drive region has been set permanently, but " \
+ printf("Drive region has been set permanently, but "
"may be reset by the vendor if necessary\n");
break;
default:
@@ -205,12 +205,12 @@ static int print_region(int fd)
printf("RPC Scheme: ");
switch( rpc_scheme ) {
case 0:
- printf("The Logical Unit does not enforce Regional " \
+ printf("The Logical Unit does not enforce Regional "
"Playback Control (RPC).\n");
break;
case 1:
printf("The Logical Unit _shall_ adhere to the "
- "specification and all requirements of the " \
+ "specification and all requirements of the "
"Content Scrambling System (CSS) license "
"agreement concerning RPC.\n");
break;

Loading...