Changed erroneous default.conf default

This commit is contained in:
VassiliDev 2021-08-17 06:36:20 -04:00
parent 6630edfebf
commit 9e0d2f986f
1 changed files with 1 additions and 3 deletions

View File

@ -210,9 +210,7 @@ fn main() -> Result<(), String> {
let old_state_owned = get_window_server_rotation_state(display, &backend)?; let old_state_owned = get_window_server_rotation_state(display, &backend)?;
let mut old_state = old_state_owned.as_str(); let mut old_state = old_state_owned.as_str();
let normalization_factor = matches let normalization_factor = matches.value_of("normalization-factor").unwrap_or("1e6");
.value_of("normalization-factor")
.unwrap_or("default.conf");
let normalization_factor = normalization_factor.parse::<f32>().unwrap_or(1e6); let normalization_factor = normalization_factor.parse::<f32>().unwrap_or(1e6);
let keyboards = get_keyboards(&backend)?; let keyboards = get_keyboards(&backend)?;