This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix segfault when pressing PrintScr without a selection
master
Rafa Garcia Gallego
10 years ago
committed by
Roberto E. Vargas Caballero
parent
45b808b88e
commit
672e4e4b03
1 changed files
with
4 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-3
st.c
+ 4
- 3
st.c
View File
@ -2263,9 +2263,10 @@ tdumpsel(void)
{
{
char
*
ptr
;
char
*
ptr
;
ptr
=
getsel
(
)
;
tprinter
(
ptr
,
strlen
(
ptr
)
)
;
free
(
ptr
)
;
if
(
(
ptr
=
getsel
(
)
)
)
{
tprinter
(
ptr
,
strlen
(
ptr
)
)
;
free
(
ptr
)
;
}
}
}
void
void
Write
Preview
Loading…
Cancel
Save