You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sddm/0006-Fix-mixed-indents.patch

47 lines
1.6 KiB

From e646bd39ba743e2540aaa7d22fd4633e5d9a6966 Mon Sep 17 00:00:00 2001
From: Jerome Leclanche <jerome@leclan.ch>
Date: Thu, 5 Nov 2015 20:03:22 +0200
Subject: [PATCH 06/34] Fix mixed indents
---
data/man/sddm.conf.rst.in | 4 ++--
src/greeter/UserModel.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/data/man/sddm.conf.rst.in b/data/man/sddm.conf.rst.in
index 18aedf4..d5263e0 100644
--- a/data/man/sddm.conf.rst.in
+++ b/data/man/sddm.conf.rst.in
@@ -74,8 +74,8 @@ OPTIONS
Default value is "/usr/bin/X".
`ServerArguments=`
- Arguments to the X server.
- Default value is "-nolisten tcp".
+ Arguments to the X server.
+ Default value is "-nolisten tcp".
`XephyrPath=`
Path of the Xephyr.
diff --git a/src/greeter/UserModel.cpp b/src/greeter/UserModel.cpp
index 66ab6fb..f56c67a 100644
--- a/src/greeter/UserModel.cpp
+++ b/src/greeter/UserModel.cpp
@@ -55,11 +55,11 @@ namespace SDDM {
while ((current_pw = getpwent()) != nullptr) {
// skip entries with uids smaller than minimum uid
- if ( int(current_pw->pw_uid) < mainConfig.Users.MinimumUid.get())
+ if (int(current_pw->pw_uid) < mainConfig.Users.MinimumUid.get())
continue;
// skip entries with uids greater than maximum uid
- if ( int(current_pw->pw_uid) > mainConfig.Users.MaximumUid.get())
+ if (int(current_pw->pw_uid) > mainConfig.Users.MaximumUid.get())
continue;
// skip entries with user names in the hide users list
if (mainConfig.Users.HideUsers.get().contains(QString::fromLocal8Bit(current_pw->pw_name)))
--
2.5.0