diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-08-30 18:21:12 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-08-30 18:21:40 -0400 |
commit | cf2b9750ca87ed4fadee63606d8de6f109e84cb8 (patch) | |
tree | 7b8f778da28e6b981f45e5f42460f3bd1fd2e6d5 /src/main.rs | |
parent | 2a3d402fa58d9a4aa709ae74dac396b37f8ddf57 (diff) | |
download | clinte-cf2b9750ca87ed4fadee63606d8de6f109e84cb8.tar.gz |
moved display to 15 posts v0.3.2
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 9541176..b837d47 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,7 +90,7 @@ fn list_matches(db: &db::Conn) { }); for (i, e) in postvec.iter().enumerate() { - if (postvec.len() >= 30 && i >= postvec.len() - 31) || postvec.len() < 30 { + if (postvec.len() > 14 && i >= postvec.len() - 15) || postvec.len() < 15 { print!("{}", e); } } |