We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
openSUSE
1 parent 86e0165 commit 6b7af05Copy full SHA for 6b7af05
src/recipe/os/openSUSE.c
@@ -5,7 +5,7 @@
5
* Contributors : Aoran Zeng <[email protected]>
6
* Created On : <2023-09-17>
7
* Major Revision : 1
8
- * Last Modified : <2025-07-21>
+ * Last Modified : <2025-07-22>
9
* ------------------------------------------------------------*/
10
11
#include "rawstr4c.h"
@@ -44,16 +44,16 @@ os_opensuse_setsrc (char *option)
44
45
while (1) {
46
chsrc_note2 ("请选择你的操作系统为:");
47
- printf ("%s", R"(
48
-1. openSUSE Leap
49
-2. openSUSE Tumbleweed
50
-
51
-==> )");
+ printf ("%s",
+ "1. openSUSE Leap\n"
+ "2. openSUSE Tumbleweed\n"
+ "\n"
+ "==> ");
52
53
int choice = 0;
54
55
/* 接受到一个数字时返回1,非法为0,流结束为-1 */
56
- if (scanf("%d", &choice) != 1)
+ if (scanf ("%d", &choice) != 1)
57
{
58
/* 清除输入缓冲区 */
59
int ch;
0 commit comments