mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 00:40:55 +00:00
DPSsetdash::: now accepts an empty dash pattern, signaling a reset
to a solid line. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f6429ce1fc
commit
b605b51392
1 changed files with 7 additions and 0 deletions
|
@ -1423,6 +1423,13 @@ typedef enum {
|
|||
char dash_list[size];
|
||||
int i;
|
||||
|
||||
if ((pat == NULL) || (size == 0))
|
||||
{
|
||||
gcv.line_style = LineSolid;
|
||||
[self setGCValues: gcv withMask: GCLineStyle];
|
||||
return;
|
||||
}
|
||||
|
||||
gcv.line_style = LineOnOffDash;
|
||||
[self setGCValues: gcv withMask: GCLineStyle];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue