Skip to content

Commit 6b7af05

Browse files
committed
Update openSUSE not use R
1 parent 86e0165 commit 6b7af05

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/recipe/os/openSUSE.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Contributors : Aoran Zeng <[email protected]>
66
* Created On : <2023-09-17>
77
* Major Revision : 1
8-
* Last Modified : <2025-07-21>
8+
* Last Modified : <2025-07-22>
99
* ------------------------------------------------------------*/
1010

1111
#include "rawstr4c.h"
@@ -44,16 +44,16 @@ os_opensuse_setsrc (char *option)
4444

4545
while (1) {
4646
chsrc_note2 ("请选择你的操作系统为:");
47-
printf ("%s", R"(
48-
1. openSUSE Leap
49-
2. openSUSE Tumbleweed
50-
51-
==> )");
47+
printf ("%s",
48+
"1. openSUSE Leap\n"
49+
"2. openSUSE Tumbleweed\n"
50+
"\n"
51+
"==> ");
5252

5353
int choice = 0;
5454

5555
/* 接受到一个数字时返回1,非法为0,流结束为-1 */
56-
if (scanf("%d", &choice) != 1)
56+
if (scanf ("%d", &choice) != 1)
5757
{
5858
/* 清除输入缓冲区 */
5959
int ch;

0 commit comments

Comments
 (0)