Skip to content

Commit 231a920

Browse files
committed
fix username/domain space bug
1 parent 2d6af44 commit 231a920

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rdg"
3-
version = "3.0.1"
3+
version = "3.0.2"
44
authors = ["Edwin Svensson <rdg-linux@olback.net>"]
55
edition = "2018"
66
build = "build/build.rs"

src/profiles.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,26 @@ impl Profile {
3232
// Username
3333
let username = self.username.trim();
3434
if !username.is_empty() {
35-
args.push(format!("-u {}", username));
35+
args.push(format!("-u{}", username));
3636
}
3737

3838
// Domain
3939
let domain = self.domain.trim();
4040
if !domain.is_empty() {
41-
args.push(format!("-d {}", domain));
41+
args.push(format!("-d{}", domain));
4242
}
4343

4444
// Window geometry
45-
args.push(format!("-g {}x{}", self.width, self.height));
45+
args.push(format!("-g{}x{}", self.width, self.height));
4646

4747
// Keymap
48-
args.push(format!("-k {}", settings.keymap_path.join(&self.keymap).display()));
48+
args.push(format!("-k{}", settings.keymap_path.join(&self.keymap).display()));
4949

5050
// Experience
51-
args.push(format!("-x {}", self.experience));
51+
args.push(format!("-x{}", self.experience));
5252

5353
// Color depth
54-
args.push(format!("-a {}", self.color_depth));
54+
args.push(format!("-a{}", self.color_depth));
5555

5656
// Fullscreen
5757
if self.fullscreen {

0 commit comments

Comments
 (0)